OptionsFileType Property (ILEADRasterDlgFile)

Visual Basic example

Visual C++ example

 

Syntax

long OptionsFileType;

Overview

Refer to Using Imaging Common Dialogs

Remarks

(Read Only) Gets a value the represents the type of file being opened using the Open dialog box.

Based on the file type specified in this property, you can check the properties associated with the file type.

The following properties will be valid based on the value of the OptionsFileType property:

PCDResolution property

PDFXResolution property

PDFYResolution property

PDFDisplayDepth property

PDFTextAlpha property

PDFGraphicsAlpha property

RASTERXResolution property

RASTERYResolution property

WMFXResolution property

WMFYResolution property

VectorViewportWidth property

VectorViewportHeight property

VectorViewportMode property

VectorFont property

DXFViewportWidth property

DXFViewportHeight property

DXFViewportMode property

DXFFont property

DXFAutoCADColorScheme property

PLTViewportWidth property

PLTViewportHeight property

PLTViewportMode property

PLTFont property

PLTPenWidth property

PLTPenColor property

The following table describes when each of the above properties becomes valid.

 

Value of OptionsFileType

Valid Properties

1.

FILE_PCD

PCDResolution

2.

FILE_RAS_PDF

PDFXResolution

 

FILE_RAS_PDF_G3_1D

PDFYResolution

 

FILE_RAS_PDF_G3_2D

PDFDisplayDepth

 

FILE_RAS_PDF_G4

PDFTextAlpha

 

FILE_RAS_PDF_JPEG

PDFGraphicsAlpha

 

FILE_RAS_PDF_JPEG_422

 

 

FILE_RAS_PDF_JPEG_411

 

3.

FILE_FPX

RasterXResolution

 

FILE_FPX_SINGLE_COLOR

RasterYResolution

 

FILE_FPX_JPEG

 

 

FILE_FPX_JPEG_QFACTOR

 

 

FILE_CMW

 

 

FILE_JBIG

 

 

FILE_JP2

 

 

FILE_J2K

 

4.

FILE_WMF

WMFXResolution

 

FILE_EMF

WMFYResolution

5.

FILE_DWF

VectorViewportWidth

 

FILE_CGM

VectorViewportHeight

 

FILE_CMX

VectorViewportMode

 

FILE_PCL

VectorFont

 

FILE_VECTOR_DUMP

 

 

FILE_PCT

 

 

FILE_DRW

 

 

FILE_INTERGRAPH_VECTOR

 

 

FILE_GERBER

 

 

FILE_SHP

 

 

FILE_SVG

 

 

FILE_VWPG

 

6.

FILE_DXF

DXFViewportWidth

 

FILE_DXF_R13

DXFViewportHeight

 

FILE_DWG

DXFViewportMode

 

 

DXFFont

 

 

DXFAutoCADColorScheme

7.

FILE_PLT

PLTViewportWidth

 

 

PLTViewportHeight

 

 

PLTViewportMode

 

 

PLTFont

 

 

PLTPenWidth

 

 

PLTPenColor

8.

Any other format

none of them are valid.

See Also

Elements

ShowOpenDlg method