The ReorderPage transaction moves the specified page to another location in the specified document. The target page number is calculated before the source page is removed.
Type XTYP_EXECUTE
Syntax [ReorderPage(docwinID, pageID, pageNum, relPosition, parentID)]
|
Parameter |
Data type |
Values |
Meaning |
|
docwinID |
DWORD |
0 |
|
|
pageID |
DWORD |
identifier of the page to reorder | |
|
pageNum |
WORD |
1 | 2 | . . . | last page number |
target page number |
|
relPosition |
BOOL |
0 | 1 |
before | after pageNum |
|
parentID |
DWORD |
0 |
same parent as pageNum |
|
|
|
pageID |
embedded in pageNum |
Release information
Added in Release 3.40.
See also