Rectangle.resize Method

Module: Rectangle

Definition

Applies a scale factor to the rectangle.

resize(self, scale_factor: float) -> None

Parameters

scale_factor float
in Scale factor to apply to the rectangle.

Exceptions

An error has occurred during Document Library execution.
void resize(double scaleFactor)

Parameters

scaleFactor double
in Scale factor to apply to the rectangle.

Exceptions

An error has occurred during Document Library execution.
public void Resize(float scaleFactor)

Parameters

scaleFactor float
in Scale factor to apply to the rectangle.

Exceptions

An error has occurred during Document Library execution.
public void resize(float scaleFactor) throws DocumentException

Parameters

scaleFactor float
in Scale factor to apply to the rectangle.

Exceptions

An error has occurred during Document Library execution.
public func resize(scaleFactor: Float) throws

Parameters

scaleFactor Float
in Scale factor to apply to the rectangle.

Exceptions

An error has occurred during Document Library execution.
int id3DocumentRectangle_Resize (
    ID3_DOCUMENT_RECTANGLE hRectangle,
    float scaleFactor)

Parameters

in Handle to the Rectangle object.

scaleFactor float
in Scale factor to apply to the rectangle.

Returns

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