Components for Developers
© 2000-2008, Two Pilots

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF Add-on History In the Lab

PDF Creator Pilot documentation

Download CHM version of this manual.
Common
Collapse All

Relocate existing page to specified position.

Syntax

HRESULT MovePage (
LONG pageNumber,
LONG newPagePosition
)
Parameters
pageNumber
The zero-based number of the page to be relocated.

newPagePosition
Position where the page should be moved.

Return value
If successful, this method returns S_OK. If it fails, this method should return one of the error values.

Remarks

If newPagePosition is equal to PageCount, page is moved to the end of the page list.

Here is a small sample:

We call MovePage(1, 3):

Page order after relocation:

See Also

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF Add-on History In the Lab

 

 

PDF Library | Virtual Printer | Converters to PDF

Support | Blog | Forum | Contacts

© 2000-2008, Two Pilots