Javascript: TXTextControl.TextField.bounds Property
Description
Obsolete. This property will be removed in one of the next versions. The bounding rectangle of a text field. The bounding rectangle is the smallest rectangle which contains all characters of the field's text.
Syntax
<Rectangle> TXTextControl.TextField.boundsExamples
The following example demonstrates TXTextControl.TextField.bounds in a practical document-editing workflow. Obsolete. This property will be removed in one of the next versions. The bounding rectangle of a text field. The bounding rectangle is the smallest rectangle which contains all characters of the field's text.
function inspectBounds(textField) {
const bounds = textField.bounds;
console.log("bounds:", bounds);
}Limitations
Read Only.