Product Ideas

As a developer, I would like a clean way to dispose ImGearDocument objects that contain mixed content

A customer is opening Word documents into ImGearWordDocument objects. After this, he's inserting raster pages into various parts of the document. After saving all of this out to file, he goes to dispose of it. But, because some of the pages are ImGearRasterPage and not ImGearWordPages, ImageGear throws an error:

"Unable to cast object of type 'ImageGear.Core.ImGearRasterPage' to type 'ImageGear.Formats.Office.ImGearWordPage'."

having a way for ImageGear to better handle documents that may contain a mixed variety of page types will allow for smoother disposal when users are finished with this kind of content.

  • Howard Means
  • Jul 26 2019
  • Attach files