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
intin 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
intin 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
intin 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
intin 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
Int32in 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_IMAGEin Handle to the DocumentImage object.angle
intin The rotation angle, in degree. Supported values are [0, 90, 180, 270].
Returns