Javascript: TXTextControl.textFrames Property
Description
Gets a collection of all text frames in the document.
Syntax
<TextFrameCollection> TXTextControl.textFramesExamples
The following example demonstrates TXTextControl.textFrames in a practical document-editing workflow. It gets a collection of all text frames in the document.
function onTxError(error) {
console.error("TX Text Control error:", error.msg);
error.handled = true;
}
tXTextControl.textFrames.getCount(function(count) {
console.log("text frames count:", count);
}, onTxError);