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

[Visual Basic]   imagekitcontrolname.File.SaveFileDlgFileType[= SaveFileDlgFileTypeConstants ]
[Visual C++]     [ long = ]imagekitcontrolname.GetFile().GetSaveFileDlgFileType()
[VB.NET]   imagekitcontrolname.File.SaveFileDlgFileType[= ImageKit10(A)Lib.SaveFileDlgFileTypeConstants ]
[C#.NET]   imagekitcontrolname.File.SaveFileDlgFileType[= ImageKit10(A)Lib.SaveFileDlgFileTypeConstants ]

ImageKit10ALib refers to the ANSI version, ImageKit10Lib refers to the Unicode version.

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 (ikSaveDlgBMP = 1, ikSaveDlgJPEG = 2, ikSaveDlgGIF = 3, ikSaveDlgTIFF = 4, ikSaveDlgPNG = 5, ikSaveDlgFPX = 6, ikSaveDlgPCX = 7, ikSaveDlgWMF = 8, ikSaveDlgEMF = 9, ikSaveDlgDXF = 10, ikSaveDlgSVG = 11, ikSaveDlgJPEG2000 = 12, ikSaveDlgJPEG2000Stream = 13, ikSaveDlgSXFP21 = 14, ikSaveDlgSXFSFC = 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.

 

The ImageKit10 ActiveX is a product created by Newtone Corporation