GxImage: SaveView

SaveView

This method saves the view image to a file.



 Public Function SaveView(
	  ByVal filename As String,
	  ByVal filetype As enumFileFormat ) As Long

Parameters

filename
The name of image file to save. In the safe mode the filename has to be the name of a new file.
filetype
The file type.

Return Values

On error false (0) is returned and the error code/string in the GX system is set appropriately.

Languages

[Visual Basic] Public Function SaveView(ByVal filename As String, ByVal filetype As enumFileFormat) As Long

[Delphi] function SaveView(const filename : WideString; filetype : TOleEnum) : Integer;

[C++] long SaveView(LPCTSTR filename, enumFileFormat filetype);

Remarks

See Also

Class GxImage Overview GxImage Properties GxImage Methods SaveQuality ScreenPosToImagePos