←Select platform

DropImageOverText Property


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

public bool DropImageOverText {get; set;} 
Public Property DropImageOverText() As Boolean 
   property bool DropImageOverText 
      bool get() 
      void set(bool value) 

Property Value

true to drop the image over text (overlay) found on a page during load; otherwise, false. 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.


Target Platforms

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

Leadtools.Codecs Assembly