Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.8.30
|
Leadtools.Codecs Namespace > CodecsPdfLoadOptions Class : DisplayDepth Property |
public int DisplayDepth {get; set;}
'Declaration
Public Property DisplayDepth As Integer
'Usage
Dim instance As CodecsPdfLoadOptions Dim value As Integer instance.DisplayDepth = value value = instance.DisplayDepth
public int DisplayDepth {get; set;}
@property (nonatomic, assign) NSInteger displayDepth
public int getDisplayDepth() public void setDisplayDepth(int value)
<br/>get_DisplayDepth();<br/>set_DisplayDepth(value);<br/>Object.defineProperty('DisplayDepth');
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.