PrDoc: SaveToMem

SaveToMem

Saves a document to memory in the specific file format.

 Public Function SaveToMem(
	  ByVal filetype As Long ) As Variant

Parameters

filetype
Format of the file The possible ids are defined in the PR_DOCFILEFORMATS enumeration.

Return Values

File data. On error the error code/string in the GX system is set appropriately.

Languages

[Visual Basic] Public Function SaveToMem(ByVal filetype As Long) As Variant

[Delphi] function SaveToMem(filetype: Integer): OleVariant;

[C++] VARIANT SaveToMem(long filetype);

Remarks

See Also

Class PrDoc Overview PrDoc Properties PrDoc Methods Save Status