PictureExportPageStream

<< Click to Display Table of Contents >>

Navigation:  Picture Export Functions >

PictureExportPageStream

Previous pageReturn to chapter overviewNext page

[Windows Platform Only, Professional Edition and above]

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

method boolean VPE.PictureExportPageStream(

TVPEStream stream,

long PageNo

)

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

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.