Gets or sets the resulting raster image pixel depth.
public int DisplayDepth {get; set;}
Public Property DisplayDepth As Integer
public int DisplayDepth {get; set;}
@property (nonatomic, assign) NSInteger displayDepth
public int getDisplayDepth()
public void setDisplayDepth(int value)
get_DisplayDepth();
set_DisplayDepth(value);
Object.defineProperty('DisplayDepth');
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.PdfEngine.dll, it still affects Postscript format.
For an example, refer to CodecsPdfOptions.
Products |
Support |
Feedback: DisplayDepth Property - Leadtools.Codecs |
Introduction |
Help Version 19.0.2017.6.16
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.