Javascript: SectionFormat.Attribute Enumeration
Description
Determines a certain section format attribute.
Members
| Member | Description |
|---|---|
| BreakKind | Specifies the attribute set through the BreakKind property. |
| Landscape | Specifies the attribute set through the Landscape property. |
| Columns | Specifies the attribute set through the Columns property. |
| ColumnWidths | Specifies the attribute set through the ColumnWidths property. |
| ColumnDistances | Specifies the attribute set through the ColumnDistances property. |
| ColumnLineWidth | Specifies the attribute set through the ColumnLineWidth property. |
| ColumnLineColor | Specifies the attribute set through the ColumnLineColor property. |
| EqualColumnWidth | Specifies the attribute set through the EqualColumnWidth property. |
| RestartPageNumbering | Specifies the attribute set through the RestartPageNumbering property. |
| All | Specifies all attributes of the SectionFormat. |
Examples
The following example uses TXTextControl.Sectionformat.Attribute.BreakKind (specifies the attribute set through the BreakKind property.) in a document-editing workflow.
function onTxError(error) {
console.error("TX Text Control error:", error.msg);
error.handled = true;
}
TXTextControl.selection.isCommonSectionFormatValueSelected(
TXTextControl.Sectionformat.Attribute.BreakKind,
function() {
console.log("is common section format value selected completed.");
},
onTxError
);