<< Click to Display Table of Contents >> VpePictureExportPageStream |
[Windows platform only, Professional Edition and above]
Identical to VpePictureExportPage(), but exports the picture to a stream.
int VpePictureExportPageStream(
VpeHandle hDoc,
VpeHandle hStream,
int page_no
)
VpeHandle hDoc
Document Handle
VpeHandle hStream
The handle of the stream where the picture is written to. The stream must have been created before by calling VpeCreateMemoryStream().
int page_no
page number of the page that shall be exported from the document
Returns:
Value |
Description |
True |
success |
False |
failure |
Remarks:
WMF and EMF files are written to a temporary file internally first and afterwards to the stream.
This is, because the Windows API does not allow to stream metafiles.