The OpenPages transaction opens a new document window that contains only specific pages from the given file.
Type XTYP_EXECUTE or XTYP_REQUEST
Syntax [OpenPages(location, "filename", firstPageNum, lastPageNum, "label", <permissions>)]
|
Parameter |
Data type |
Values |
Meaning |
|
location |
WORD |
0 |
file on disk |
|
filename |
file name including path of the file containing the pages | ||
|
firstPageNum |
WORD |
1 to last page |
first page to open |
|
lastPageNum |
WORD |
1 to last page |
last page to open |
|
label |
string |
label, maximum 80 characters. See Remarks. | |
|
permissions |
WORD |
0 |
placeholder. Optional parameter. |
|
Reply |
Data type |
Values |
Meaning |
|
count |
WORD |
0 | 1 |
fail | pass |
|
docwinID |
DWORD |
identifier of the new document window | |
Remarks
The specified label is assigned to the root document.
Replies are only returned when this transaction is called as an XTYP_REQUEST.
Release information
Added in Release 4.40.
See also