←Select platform

DropImageOverText Property

Summary

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

Syntax
C#
VB
C++
public bool DropImageOverText {get; set;} 
Public Property DropImageOverText() As Boolean 
   Get 
   Set 
public:  
   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.

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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.