Rectangle.getWidth Method

Module: Rectangle

Definition

Returns the width of the rectangle. Use on aligned rectangle only.

get_width(self) -> int

Returns

int
Width of the rectangle.

Exceptions

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

Returns

int
Width of the rectangle.

Exceptions

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

Returns

int
Width of the rectangle.

Exceptions

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

Returns

int
Width of the rectangle.

Exceptions

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

Returns

Int
Width of the rectangle.

Exceptions

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

Parameters

in Handle to the Rectangle object.

width int *
out Width of the rectangle.

Returns

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