Gets and sets the path and name of the file to save.
Read-write property
Visual Basic |
---|
Public Property SaveFileName As String |
The path and name of the file to save.
If the SaveFileType property is set to FT_DEFAULT, then the image file type is determined by the file extension specified in this property.
If this property contains an extension that is not supported by or unrecognized by ImagXpress, then an error is returned in the ImagError property.
The following Visual Basic example shows one way to save a BMP file.The file type is taken from the extension.
SaveFile example (Visual Basic) | Copy Code |
---|---|
ImagXpress1.SaveFileType = FT_DEFAULT
ImagXpress1.SaveFileName = "C:\IMAGES\MYPIC.BMP"
ImagXpress1.SaveFile |