This property retrieves the file type that was selected when a file was saved with the SaveFileDialog method.

[C++Builder]   imagekitcontrolname->FileIO->SaveFileDlgFileType[= short ]
[Delphi]   imagekitcontrolname.FileIO.SaveFileDlgFileType[= Smallint ]

Property Value

Value Explanation
1 BMP
2 JPEG
3 GIF
4 TIFF
5 PNG
6 FPX
7 PCX
8 WMF
9 EMF
10 DXF
11 SVG
12 JPEG2000(Part1)
13 JPEG2000(Code Stream)
14 SXF(p21)
15 SXF(sfc)

The following constants can also be used (vikSaveDlgBMP = 1, vikSaveDlgJPEG = 2, vikSaveDlgGIF = 3, vikSaveDlgTIFF = 4, vikSaveDlgPNG = 5, vikSaveDlgFPX = 6, vikSaveDlgPCX = 7, vikSaveDlgWMF = 8, vikSaveDlgEMF = 9, vikSaveDlgDXF = 10, vikSaveDlgSVG = 11, vikSaveDlgJPEG2000 = 12, vikSaveDlgJPEG2000Stream = 13, vikSaveDlgSXFP21 = 14, vikSaveDlgSXFSFC = 15)

Explanation

The SaveFileDlgFileType property retrieves the file type that was selected when a file was saved with the SaveFileDialog method. Default value is 0.

Note: If "All Files" was selected when the file was saved with the SaveFileDialog method, then 0 is returned.

Setting this value

  This value cannot be set.

Retrieving this value

This value can be retrieved at run-time.

Differences from ImageKit7/8/9/10 ActiveX

The VCL constants have a "v". In ActiveX, the constants are ikSaveDlgBMP, ikSaveDlgJPEG, ikSaveDlgGIF, ikSaveDlgTIFF, ikSaveDlgPNG, ikSaveDlgFPX, ikSaveDlgPCX, ikSaveDlgWMF, ikSaveDlgEMF, ikSaveDlgDXF, ikSaveDlgSVG, ikSaveDlgJPEG2000, ikSaveDlgJPEG2000Stream, ikSaveDlgSXFP21, ikSaveDlgSXFSFC

 

The ImageKit10 VCL is a product created by Newtone Corporation