Rectangle.getX Method

Module: Rectangle

Definition

Returns the x-coord of the TopLeft corner. Use on aligned rectangle only.

get_x(self) -> int

Returns

int
X-coord of the TopLeft corner.

Exceptions

An error has occurred during Document Library execution.
int getX()

Returns

int
X-coord of the TopLeft corner.

Exceptions

An error has occurred during Document Library execution.
public int GetX()

Returns

int
X-coord of the TopLeft corner.

Exceptions

An error has occurred during Document Library execution.
public int getX() throws DocumentException

Returns

int
X-coord of the TopLeft corner.

Exceptions

An error has occurred during Document Library execution.
public func getX() throws -> Int32

Returns

Int
X-coord of the TopLeft corner.

Exceptions

An error has occurred during Document Library execution.
int id3DocumentRectangle_GetX (
    ID3_DOCUMENT_RECTANGLE hRectangle,
    int * x)

Parameters

in Handle to the Rectangle object.

x int *
out X-coord of the TopLeft corner.

Returns

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