VpeReadDocPageRange

<< Click to Display Table of Contents >>

Navigation:  Management Functions >

VpeReadDocPageRange

Previous pageReturn to chapter overviewNext page

[Professional Edition and above]

Identical to VpeReadDoc(), but reads only the given range of pages from a document file.

int VpeReadDocPageRange(

VpeHandle hDoc,

LPCSTR file_name,

int from_page,

int to_page

)

VpeHandle hDoc

Document Handle

LPCSTR file_name

the path and filename

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

Remarks:

In case of an error, LastError is set.