Javascript: FormattedText.tables Property
Description
Gets a collection of all tables.
Syntax
<TableCollection> FormattedText.tablesExamples
The following example demonstrates FormattedText.tables in a practical document-editing workflow. It gets a collection of all tables.
function onTxError(error) {
console.error("TX Text Control error:", error.msg);
error.handled = true;
}
TXTextControl.textParts.getMainText(function(formattedText) {
formattedText.tables.getCount(function(count) {
console.log("tables count:", count);
}, onTxError);
}, onTxError);Limitations
Read Only.