Javascript: PageSize.Attribute Enumeration
Description
Determines a certain page size attribute.
Members
| Member | Description |
|---|---|
| Width | Specifies the attribute set through the Width property. |
| Height | Specifies the attribute set through the Height property. |
| All | Specifies all attributes of the PageSize. |
Examples
The following example uses TXTextControl.Pagesize.Attribute.Width (specifies the attribute set through the Width property.) in a document-editing workflow.
function onTxError(error) {
console.error("TX Text Control error:", error.msg);
error.handled = true;
}
TXTextControl.selection.isCommonPageSizeValueSelected(
TXTextControl.Pagesize.Attribute.Width,
function() {
console.log("is common page size value selected completed.");
},
onTxError
);