DocumentImage.rotateTo Method¶
Module: DocumentImage
Definition¶
Rotates the image to the specified angle.
Note
The rotation is performed counter-clockwise.
rotate_to(self, angle: int, dst_document_image: DocumentImage) -> None
Parameters
angleintin The rotation angle, in degree. Supported values are [0, 90, 180, 270].dst_document_imageDocumentImagein The destination Image that receives the rotated image.
Exceptions
An error has occurred during Document Library execution.
void rotateTo(int angle, DocumentImage dstDocumentImage)
Parameters
angleintin The rotation angle, in degree. Supported values are [0, 90, 180, 270].dstDocumentImageDocumentImagein The destination Image that receives the rotated image.
Exceptions
An error has occurred during Document Library execution.
public void RotateTo(int angle, DocumentImage dstDocumentImage)
Parameters
angleintin The rotation angle, in degree. Supported values are [0, 90, 180, 270].dstDocumentImageDocumentImagein The destination Image that receives the rotated image.
Exceptions
An error has occurred during Document Library execution.
public void rotateTo(int angle, DocumentImage dstDocumentImage) throws DocumentException
Parameters
angleintin The rotation angle, in degree. Supported values are [0, 90, 180, 270].dstDocumentImageDocumentImagein The destination Image that receives the rotated image.
Exceptions
An error has occurred during Document Library execution.
public func rotateTo(angle: Int32, dstDocumentImage: DocumentImage) throws
Parameters
angleInt32in The rotation angle, in degree. Supported values are [0, 90, 180, 270].dstDocumentImageDocumentImagein The destination Image that receives the rotated image.
Exceptions
An error has occurred during Document Library execution.
int id3DocumentImage_RotateTo (
ID3_DOCUMENT_IMAGE hDocumentImage,
int angle,
ID3_DOCUMENT_IMAGE hDstDocumentImage)
Parameters
hDocumentImageID3_DOCUMENT_IMAGEin Handle to the DocumentImage object.angleintin The rotation angle, in degree. Supported values are [0, 90, 180, 270].hDstDocumentImageID3_DOCUMENT_IMAGEin The destination Image that receives the rotated image.
Returns