PictureExportStream

<< Click to Display Table of Contents >>

Navigation:  Picture Export Functions >

PictureExportStream

Previous pageReturn to chapter overviewNext page

[Windows Platform Only, Professional Edition and above]

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

method int VPE.PictureExportPageStream(

TVPEStream stream,

long PageNo,

VpeCoord Left,

VpeCoord Top,

VpeCoord Right,

VpeCoord Bottom

)

TVPEStream stream

The stream-object where the picture is written to. The stream must have been created before by calling CreateMemoryStream().

long PageNo

page number of the page that shall be exported from the document

VpeCoord Left, Top, Right, Bottom

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.