VpeGetVisualPage

<< Click to Display Table of Contents >>

Navigation:  Management Functions >

VpeGetVisualPage

Previous pageReturn to chapter overviewNext page

[Windows platform only]

Retrieve the number of the currently visible page in the preview. This page is independently from the currently active page, where you can insert objects on (see VpeGetCurrentPage() and VpeGotoPage()).

int  VpeGetVisualPage(

VpeHandle hDoc

)

VpeHandle hDoc

Document Handle

Returns:

The number of the currently visible page.

Default:

1 = the first page, after a call to VpeOpenDoc()

Example:

VpeGotoVisualPage(hDoc, 5)                // moves the preview to page 5

n = VpeGetVisualPage(hDoc)                // returns the value 5