PDFDisplayDepth Property (ILEADRasterDlgFile)

Visual Basic example

Visual C++ example

 

Syntax

long PDFDisplayDepth;

Overview

Refer to Using Imaging Common Dialogs

Remarks

(Read Only) Gets the pixel depth entered by the user in the Open dialog box.

LEADTOOLS uses this property when loading PDF, PS or EPS files. Possible values are:

Value

Meaning

1

1 bit per pixel in the resultant bitmap

2

4 bits per pixel in the resultant bitmap

3

8 bits per pixel in the resultant bitmap

24

bits per pixel in the resultant bitmap

Th PDFDisplayDepth property is valid only if OptionsFileType property contains one of the PDF formats:

FILE_RAS_PDF,

FILE_RAS_PDF_G3_1D,

FILE_RAS_PDF_G3_2D,

FILE_RAS_PDF_G4,

FILE_RAS_PDF_JPEG,

FILE_RAS_PDF_JPEG_422,

FILE_RAS_PDF_JPEG_411.

See Also

Elements

ShowOpenDlg method