DS Server

Javascript: TextFieldInfo.bounds Property

Property|Introduced in 23.0

Description

The bounding rectangle of a text field.

Syntax

<Rectangle> TextFieldInfo.bounds

Examples

The following example demonstrates TextFieldInfo.bounds in a practical document-editing workflow. The bounding rectangle of a text field.

function inspectBounds(textFieldInfo) {
    const bounds = textFieldInfo.bounds;
    console.log("bounds:", bounds);
}