Specifies the how the document writer converts the overlay image (image over text).
lt.Document.Writer.DocumentImageOverTextMode = {
none: 0,
strict: 1,
relaxed: 2
}
lt.Document.Writer.DocumentImageOverTextMode = {
none: 0,
strict: 1,
relaxed: 2
}
0 |
None |
(0) Apply no rules. The image will be used as is and no detection is perform. |
1 |
Strict |
(1) 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. |
2 |
Relaxed |
(2) 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). |
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.
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