Rectangle.topRight Property

Module: Rectangle

Type: Point

Definition

Top-right corner of the rectangle.

top_right: Point

Exceptions

An error has occurred during Document Library execution.
Point get topRight => getTopRight();
set topRight(Point value) => setTopRight(value);

Exceptions

An error has occurred during Document Library execution.
public Point topRight
{
    get => GettopRight();
    set => SettopRight(ref value);
}

Exceptions

An error has occurred during Document Library execution.
public Point getTopRight() throws DocumentException
public void setTopRight(Point topRight) throws DocumentException

Exceptions

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

Exceptions

An error has occurred during Document Library execution.
int id3DocumentRectangle_GetTopRight (ID3_DOCUMENT_RECTANGLE hRectangle, id3DocumentPoint * sTopRight)
int id3DocumentRectangle_SetTopRight (ID3_DOCUMENT_RECTANGLE hRectangle, const id3DocumentPoint * sTopRight)

Returns

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