PageMoveΒΆ

PageMove moves a page to the specified position inside a document.

bool = PageMove(hPage, nNewPos)

Return Value

bool is TRUE (1) if the function was successful and otherwise FALSE (0).

Parameters

hPage

hPage is the page handle.

nNewPos

nNewPos is the new position. nNewPos = 0 moves the page to the beginning and nNewPos = 255 moves the page to the end of the document

Example

Move a page to the beginning

PageMove(hPage, 0);

id-52622