DocumentImage.rotate Method

Module: DocumentImage

Definition

Rotates the image in-place to the specified angle.

Note

The rotation is performed counter-clockwise.

rotate(self, angle: int) -> None

Parameters

angle int
in The rotation angle, in degree. Supported values are [0, 90, 180, 270].

Exceptions

An error has occurred during Document Library execution.
void rotate(int angle)

Parameters

angle int
in The rotation angle, in degree. Supported values are [0, 90, 180, 270].

Exceptions

An error has occurred during Document Library execution.
public void Rotate(int angle)

Parameters

angle int
in The rotation angle, in degree. Supported values are [0, 90, 180, 270].

Exceptions

An error has occurred during Document Library execution.
public void rotate(int angle) throws DocumentException

Parameters

angle int
in The rotation angle, in degree. Supported values are [0, 90, 180, 270].

Exceptions

An error has occurred during Document Library execution.
public func rotate(angle: Int32) throws

Parameters

angle Int32
in The rotation angle, in degree. Supported values are [0, 90, 180, 270].

Exceptions

An error has occurred during Document Library execution.
int id3DocumentImage_Rotate (
    ID3_DOCUMENT_IMAGE hDocumentImage,
    int angle)

Parameters

hDocumentImage ID3_DOCUMENT_IMAGE
in Handle to the DocumentImage object.

angle int
in The rotation angle, in degree. Supported values are [0, 90, 180, 270].

Returns

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