←Select platform

DropImageOverText Property

Summary

Indicates whether to drop the image over text (overlay) found on a page during load.

Syntax
C#
C++/CLI
Python
public bool DropImageOverText {get; set;} 
public:  
   property bool DropImageOverText 
   { 
      bool get() 
      void set(bool value) 
   } 
DropImageOverText # get and set (CodecsPdfLoadOptions) 

Property Value

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
Remarks

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.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.