public int DisplayDepth { get; set; }
Public Property DisplayDepth As Integer
@property (nonatomic, assign) NSInteger displayDepth
public int getDisplayDepth()
public void setDisplayDepth(int value)
The resulting raster image pixel depth, valid values are 0, 1, 4, 8, or 24. The default value is 0 for auto-detect.
Possible values are:
Value | Description |
---|---|
0 | Auto-detect. The resulting image will have the same bits per pixel as the requested page in the source PDF file. Internally, the toolkit will use the bits per pixel value of the first image item found on the page. If the page does not have any image items, the result will be 24 bits per pixel. Use this value only when the source file is a raster PDF. |
1 | 1 bit per pixel in the resulting image. |
4 | 4 bit per pixel in the resulting image. |
8 | 8 bit per pixel in the resulting image. |
24 | 24 bit per pixel in the resulting image. |
Refer to CodecsRasterPdfInfo for information on how to use RasterCodecs.GetRasterPdfInfo to obtain this value from a PDF file saved with RasterCodecs.
This option affects the PDF format when UsePdfEngine is set to true to use Leadtools.Pdf.Utilities.dll, it still affects Postscript format.
For an example, refer to CodecsPdfOptions.
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