INTEGRAL DSL Reference Guide
Jump directly to:
::my.app.RePage(page)
This function changes the current page number in the current INTEGRAL document. When the document is viewed in INTEGRAL Document Editor, this updates the page setting of the document's active panel and redraws it. When the document is exported using the Export or ExportToFile function, this controls the first page of the export (assuming the page parameter is set to DX_PAGE_CURR).
Parameters
page
A non-negative integer that specifies the new current page. The value 0 is the first page, 1 second, etc.
Return Value
The function returns DV_RET_OK on success and DV_RET_ERR on failure.
- const DV_RET_ERR = 0 — failure
- const DV_RET_OK = 1 — success
Example 1
::my.app.RePage(3);