The GetParentPageID transaction returns the identifier of the the specified page's parent. A parent is a page that contains embedded (subordinate or child) pages. It could be considered a section or chapter that contains pages, just as pages contain layers.
Type XTYP_REQUEST
Syntax [GetParentPageID(docwinID, <pageID>)]
|
Parameter |
Data type |
Values |
Meaning |
|
docwinID |
DWORD |
0 | docwinID |
active | specific |
|
pageID |
DWORD |
0 | pageID |
current | specific. Optional parameter. |
|
Reply |
Data type |
Values |
Meaning |
|
parentPageID |
DWORD |
0 |
none (no parent exists) |
|
|
|
pageID |
identifier of the parent page |
Release Information
Added in Release 3.70.
See also