Resizing Pages in a PDF File Using ImageGear .NET
Portable Document Format (PDF) files have become the ubiquitous way to store documents for sharing with a broad audience. While popular, PDF documents have several drawbacks. One large drawback is the fact that PDF documents are intended to be immutable. In other words, PDF documents lack the internal information necessary to reorganize its contents, unlike, […]
How do I use a Network Drive path for Image and ART Storage in my ImageGear .NET web application?
Question How do I use a Network Drive path for Image and ART storage in my ImageGear .NET web application? Answer In an ImageGear .NET web application, you have to define the location of the images and annotations directory in the storageRootPath and artStorageRootPath configuration property. In the current version of ImageGear .NET, the storageRootPath […]
Decoding Barcodes in F# with Barcode Xpress
F# is a strongly-typed functional-first language developed by Microsoft to bring the paradigms and advantages of functional style programming into the .NET platform. Influenced by languages like OCaml and Haskell, F# allows programmers to write more concise, readable software while maintaining the advantages of a strongly static typed compiler. While templates and support for F# […]
How do I use a Network Drive path for Image and ART Storage in my ImageGear .NET web application?
Question How do I use a Network Drive path for Image and ART storage in my ImageGear .NET web application? Answer In an ImageGear .NET web application, you have to define the location of the images and annotations directory in the storageRootPath and artStorageRootPath configuration property. In the current version of ImageGear .NET, the storageRootPath […]
Convert & Compress
Integrate Efficient, Accurate Optical Character Recognition (OCR) in Your Application
Effective document management is now a top priority for organizations, but for many, it remains a challenge. As noted by recent AIIM survey data, companies are struggling to handle both the documents they have and the rapid uptake of new information. In fact, 43 percent said their biggest priority is effectively leveraging the structured and […]
Why do I get a "File Format Unrecognized" exception when trying to load a PDF document in ImageGear .NET?
Question Why do I get a “File Format Unrecognized” exception when trying to load a PDF document in ImageGear .NET? Answer You will need to set up your project to include PDF support if you want to work with PDF documents. Add a reference to ImageGear24.Formats.Pdf (if you’re using another version of ImageGear, make sure […]
Why do I get a "File Format Unrecognized" exception when trying to load a PDF document in ImageGear .NET?
Question Why do I get a “File Format Unrecognized” exception when trying to load a PDF document in ImageGear .NET? Answer You will need to set up your project to include PDF support if you want to work with PDF documents. Add a reference to ImageGear24.Formats.Pdf (if you’re using another version of ImageGear, make sure […]
Why am I getting SEHException from ImageGear .NET when attempting to load XFA PDF?
Question ImageGear .NET v24.6 added support for viewing PDF documents with XFA content. I’m using v24.8, and upon trying to open an XFA PDF, I get a SEHException for some reason… Why might this be happening? Answer One reason could be because you need to execute the following lines after initializing the PDF component, and […]
How do I ensure temp files are deleted when closing ImageGear .NET?
Question How do I ensure temp files are deleted when closing ImageGear .NET? Answer All PDF objects are based on underlying low-level PDF objects that are not controlled by .NET resource manager and garbage collector. Because of this, each PDF object that is created from scratch should be explicitly disposed of using that object’s Dispose() […]
How do I ensure temp files are deleted when closing ImageGear .NET?
Question How do I ensure temp files are deleted when closing ImageGear .NET? Answer All PDF objects are based on underlying low-level PDF objects that are not controlled by .NET resource manager and garbage collector. Because of this, each PDF object that is created from scratch should be explicitly disposed of using that object’s Dispose() […]
How can I re-order PDF pages using ImageGear .NET?
Question I want to re-arrange the page order of a PDF. I’ve tried the following… var page = imGearDocument.Pages[indx].Clone(); imGearDocument.Pages.RemoveAt(indx); //// Exception: "One or more pages are in use and could not be deleted." imGearDocument.Pages.Insert(newIndx, page); But an exception is thrown. Somehow, even though the page was cloned, the exception states that the page can’t […]