VpePictureExportStream

<< Click to Display Table of Contents >>

Navigation:  Picture Export >

VpePictureExportStream

Previous pageReturn to chapter overviewNext page

[Windows platform only, Professional Edition and above]

Identical to VpePictureExport(), but exports the picture to a stream.

int VpePictureExportPageStream(

VpeHandle hDoc,

VpeHandle hStream,

int page_no,

VpeCoord x,

VpeCoord y,

VpeCoord x2,

VpeCoord y2

)

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

int x, y, x2, y2

rectangle of the page in metric or inch units that shall be exported as image

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.

 

See also:

VpePictureExport