[Visual
Basic] imagekitcontrolname.File.SaveFileDlgFileType
[= SaveFileDlgFileTypeConstants ]
[Visual C++] [
long =
]imagekitcontrolname.GetFile().GetSaveFileDlgFileType()
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) |
In Visual Basic 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.