Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# TextField.bounds Property

Module: TextField

Type: Rectangle

## Definition

Boundaries of the text field in the image.

Python

    bounds: Rectangle

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Dart

    Rectangle get bounds => getBounds();

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

C#

    public Rectangle bounds
    {
        get => Getbounds();
    }

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Java

    public Rectangle getBounds() throws DocumentException

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

Swift

    public var bounds: Rectangle
        get {
            return try! getBounds()
        }
    }

Exceptions

> DocumentException
> An error has occurred during Document Library execution.

C

    int id3DocumentTextField_GetBounds (ID3_DOCUMENT_TEXT_FIELD hTextField, id3DocumentRectangle * sBounds)

Returns

> `int`
> An error code.
> See id3DocumentError file for the list of possible error codes.