VpeWriteDocStreamPageRange

<< Click to Display Table of Contents >>

Navigation:  Management Functions >

VpeWriteDocStreamPageRange

Previous pageReturn to chapter overviewNext page

[Professional Edition and above]

Identical to VpeWriteDocStream(), but writes only the given range of pages to a stream.

int VpeWriteDocStreamPageRange(

VpeHandle hDoc,

VpeHandle hStream,

int from_page,

int to_page

)

VpeHandle hDoc

Document Handle

VpeHandle hStream

The handle of the stream where the document is written to. The stream must have been created before by calling VpeCreateMemoryStream().

int from_page

starting page of the page range

int to_page

ending page of the page range

Returns:

Value

Description

True

Success

False

Failure