VpeGetCurrentPage

<< Click to Display Table of Contents >>

Navigation:  Layout Functions >

VpeGetCurrentPage

Previous pageReturn to chapter overviewNext page

Retrieve the number of the current active page. This is the page where you can insert objects. It is independently from the Visual Page shown in the preview (see "Multipage Documents" in the Programmer's Manual and VpeGotoVisualPage().

int VpeGetCurrentPage(

VpeHandle hDoc

)

VpeHandle hDoc

Document Handle

Returns:

The number of the current active page.

Example:

VpeGotoPage(hDoc, 5)        // moves to page 5

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