←Select platform

DocumentImageOverTextMode Enumeration

Summary
Specifies the how the document writer converts the overlay image (image over text).
Syntax
C#
Objective-C
C++/CLI
Java
Python
[SerializableAttribute()] 
[DataContractAttribute()] 
public enum DocumentImageOverTextMode 
typedef NS_ENUM(NSInteger, LTDocumentImageOverTextMode) { 
 LTDocumentImageOverTextModeNone = 0,  
 LTDocumentImageOverTextModeStrict = 1,  
 LTDocumentImageOverTextModeRelaxed = 2 
}; 
public enum DocumentImageOverTextMode 
[DataContractAttribute()] 
[SerializableAttribute()] 
public enum class DocumentImageOverTextMode   
class DocumentImageOverTextMode(Enum): 
   None = 0 
   Strict = 1 
   Relaxed = 2 
Members
ValueMemberDescription
0None Apply no rules. The image will be used as is and no detection is perform.
1Strict The document writer will determine if the image is grayscale, if so, it will convert the image to black and white (1 bit per pixel) only if the image contains no grayscale values besides pure black and white.
2Relaxed The document writer will determine if the image is grayscale. If the image has noise or shadows, they will be ignored and the image is converted to black and white (1 bit per pixel).
Remarks

Use this option to control how the document writer converts the optional overlay image. Refer to PdfDocumentOptions.ImageOverTextSize and PdfDocumentOptions.ImageOverText for more information.

Currently this option is only used to determine when to convert grayscale overlay images to black and white in the final document. This is done to minimize the size of the output document.

Requirements

Target Platforms

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

Leadtools.Document.Writer Assembly

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