WriteImageFile
New to Analytica 5.0
Requires Analytica Enterprise edition or better.
WriteImageFile( filename, image, showDialog, warn, mimeType, title )
Writes an in-memory image to a file.
- «filename»: When a full (absolute) filename is not supplied, the file name is relative to the CurrentDataFolder.
- «image»: An image, obtained from the
(Pict Of «obj»)
attribute, or from a function that returns an image such as ReadImageFile, ReadFromUrl, or CanvasImage. - «showDialog»: (Optional) When
True
, the file finder dialog is always presented to the user. WhenFalse
, the dialog is never presented to the user. When omitted, the dialog is shown only if the file cannot be written to «filename», or if the file already exists and you haven't specifiedwarn:False
. - «warn»: (Optional) When
True
, a warning is issued ifshowDialog:False
and the file exists. This warning will only be shown when Show Result Warnings is enabled. - «mimeType»: (Optional) Specifies the preferred file type, such as
'PNG'
,'JPG'
, etc., for the image. - «title»: (Optional) A custom caption shown in the file selector when the file selector is displayed.
See Also
Comments
Enable comment auto-refresher