ExportToFile(FileName: String; FormatTag: String);
ExportToFile(FileName: string; FormatTag: string);
FileName. Name of the file, to which the object is exported.
FormatTag. Format of the file, to which the object is to be exported. It is possible to export to the following formats:
bmp.
png.
jpg.
gif.
tiff.
The ExportToFile method exports a workspace into a file of the specified format.
Executing the example requires a form with the Button1 button, the WorkspaceBox component named WorkspaceBox1 and a data source for the WorkspaceBox1.
Add links to the Andy, Workspace system assemblies.
After executing this example the workspace is exported into the WS.gif file.
See also: