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

# DetectedDocument.bounds Property

Module: DetectedDocument

Type: PointList

## Definition

Boundaries of the document detected, in the following order: top-left, top-right, bottom-right, bottom-left.

Python

    bounds: PointList

Exceptions

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

Dart

    PointList get bounds => getBounds();
    set bounds(PointList value) => setBounds(value);

Exceptions

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

C#

    public PointList bounds
    {
        get => Getbounds();
        set => Setbounds(ref value);
    }

Exceptions

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

Java

    public PointList getBounds() throws DocumentException
    public void setBounds(PointList bounds) throws DocumentException

Exceptions

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

Swift

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

Exceptions

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

C

    int id3DetectedDocument_GetBounds (ID3_DETECTED_DOCUMENT hDetectedDocument, ID3_DOCUMENT_POINT_LIST hBounds)
    int id3DetectedDocument_SetBounds (ID3_DETECTED_DOCUMENT hDetectedDocument, ID3_DOCUMENT_POINT_LIST hBounds)

Returns

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