OptionsFileType property (LEADDlgFile Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

L_UINT OptionsFileType

Delphi Syntax

OptionsFileType: L_UINT

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.

RASTERMISCXResolution property.

RASTERMISCYResolution property.

METAFILEXResolution property.

METAFILEYResolution property.

VECTORMISCViewportWidth property.

VECTORMISCViewportHeight property.

VECTORMISCViewportMode property.

VECTORMISCFont 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

FILE_PCD

PCDResolution.

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

 

FILE_FPX

RASTERMISCXResolution.

FILE_FPX_SINGLE_COLOR

RASTERMISCYResolution.

FILE_FPX_JPEG

 

FILE_FPX_JPEG_QFACTOR

 

FILE_CMW

 

FILE_JBIG

 

FILE_JP2

 

FILE_J2K

 

FILE_WMF

METAFILEXResolution.

FILE_EMF

METAFILEYResolution.

FILE_DWF

VECTORMISCViewportWidth.

FILE_CGM

VECTORMISCViewportHeight.

FILE_CMX

VECTORMISCViewportMode.

FILE_PCL

VECTORMISCFont.

FILE_VECTOR_DUMP

 

FILE_PCT

 

FILE_DRW

 

FILE_INTERGRAPH_VECTOR

 

FILE_GERBER

 

FILE_SHP

 

FILE_SVG

 

FILE_VWPG

 

FILE_DXF

DXFViewportWidth.

FILE_DXF_R13

DXFViewportHeight.

FILE_DWG

DXFViewportMode.

 

DXFFont.

 

DXFAutoCADColorScheme.

FILE_PLT

PLTViewportWidth.

 

PLTViewportHeight.

 

PLTViewportMode.

 

PLTFont.

 

PLTPenWidth.

 

PLTPenColor.

Any other format

none of them are valid.

See Also

Elements:

ShowOpenDlg method, Filter property, FilterIndex property, FileName property, FileTitle property, DialogTitle property, DlgFileFlags property, InitialDir property, MaxFileSize property, MaxFileTitleSize property, PreviewEnabled property, OptionsFileType property, Bitmap property, Thumbnail property, PageNumber property, LoadPasses property, LoadCompressed property, LoadRotated property, ShowLoadOptions property, PCDResolution property, PDFXResolution property, PDFYResolution property, PDFDisplayDepth property, PDFTextAlpha property, PDFGraphicsAlpha property, RASTERMISCXResolution property, RASTERMISCYResolution property, METAFILEXResolution property, METAFILEYResolution property, VECTORMISCViewportWidth property, VECTORMISCViewportHeight property, VECTORMISCViewportMode property, VECTORMISCFont property, DXFViewportWidth property, DXFViewportHeight property, DXFViewportMode property, DXFFont property, DXFAutoCADColorScheme property, PLTViewportWidth property, PLTViewportHeight property, PLTViewportMode property, PLTPenWidth property, PLTPenColor property

Topics:

Imaging Common Dialogs: Properties, Methods, and Events