Indicates whether to drop the image over text (overlay) found on a page during load.
public bool DropImageOverText {get; set;}
public:
property bool DropImageOverText
{
bool get()
void set(bool value)
}
DropImageOverText # get and set (CodecsPdfLoadOptions)
Value | Description |
---|---|
true | To drop the image over text overlay found on a page during load. |
false | To not drop the image over text overlay found on a page during load. The default value is false |
Image over text (or overlay) is used when creating a searchable PDF document that is required to look the same as the original. When overlay is used, the PDF creator uses a raster image of the original file and saves it over the entire PDF page as an overlay. When opening the resulting document in a PDF viewer, you can still search the text underneath the overlay image and still maintain the look of the original document.
When loading a page from a PDF document that was created with this feature, RasterCodecs will automatically render the overlay raster image on top of all other content of the page. If this is not desired, set the value of DropImageOverText to false.
DropImageOverText has no effect on pages that do not have an overlay.
Refer to PDFDocumentOptions.ImageOverText on how to create PDF documents with an overlay in LEADTOOLS, and to PDFDocument.GetContentType on how to detect if a page in a PDF file contains an overlay.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document