Rectangle.topLeft Property

Module: Rectangle

Type: Point

Definition

Top-left corner of the rectangle.

top_left: Point

Exceptions

An error has occurred during Document Library execution.
Point get topLeft => getTopLeft();
set topLeft(Point value) => setTopLeft(value);

Exceptions

An error has occurred during Document Library execution.
public Point topLeft
{
    get => GettopLeft();
    set => SettopLeft(ref value);
}

Exceptions

An error has occurred during Document Library execution.
public Point getTopLeft() throws DocumentException
public void setTopLeft(Point topLeft) throws DocumentException

Exceptions

An error has occurred during Document Library execution.
public var topLeft: Point
    get {
        return try! getTopLeft()
    }
}

Exceptions

An error has occurred during Document Library execution.
int id3DocumentRectangle_GetTopLeft (ID3_DOCUMENT_RECTANGLE hRectangle, id3DocumentPoint * sTopLeft)
int id3DocumentRectangle_SetTopLeft (ID3_DOCUMENT_RECTANGLE hRectangle, const id3DocumentPoint * sTopLeft)

Returns

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