AllPagesHelpers
Helpers for use when reading all pages of the design.
Methods
openPage
function
Parameters
pageRef
PageRef
A reference to a page.
For more information, see PageRef.
callback
DesignOpenPageCallback<Page>
A callback for operating on a page of the design.
Parameters
response
DesignEditing.OpenPageResult<Page>
Result received by the openPage
callback.
page
DesignEditing.Page
The page of the design.
A page with either fixed or unbounded dimensions.
For more information, see AbsolutePage.
Represents something that's not supported by the Apps SDK.
type
string
Read-onlyThe only valid value is "unsupported"
.
helpers
PageHelpers
These are various utilities that allow apps to do more complex operations on the page.
For more information, see PageHelpers.
Returns
Promise<void>
Returns
The response from openPage
indicating whether the callback was executed. This is a Promise
that resolves with the following object:
The response from openPage
if the callback was executed.
status
string
The only valid value is "executed"
.
The response from openPage
if the callback was not executed.
status
string
The only valid value is "skipped"
.
reason
string
Reason that the callback was not executed.