CaptureImage.rotateTo Method

Module: CaptureImage

Definition

Rotates the image to the specified angle.

Note

The rotation is performed counter-clockwise.

rotate_to(self, angle: int, dst_capture_image: CaptureImage) -> None

Parameters

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

dst_capture_image CaptureImage
in The destination Image that receives the rotated image.

Exceptions

An error has occurred during Devices Library execution.
void rotateTo(int angle, CaptureImage dstCaptureImage)

Parameters

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

dstCaptureImage CaptureImage
in The destination Image that receives the rotated image.

Exceptions

An error has occurred during Devices Library execution.
public void RotateTo(int angle, CaptureImage dstCaptureImage)

Parameters

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

dstCaptureImage CaptureImage
in The destination Image that receives the rotated image.

Exceptions

An error has occurred during Devices Library execution.
public void rotateTo(int angle, CaptureImage dstCaptureImage) throws DevicesException

Parameters

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

dstCaptureImage CaptureImage
in The destination Image that receives the rotated image.

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesCaptureImage_RotateTo (
    ID3_DEVICES_CAPTURE_IMAGE hCaptureImage,
    int angle,
    ID3_DEVICES_CAPTURE_IMAGE hDstCaptureImage)

Parameters

in Handle to the CaptureImage object.

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

hDstCaptureImage ID3_DEVICES_CAPTURE_IMAGE
in The destination Image that receives the rotated image.

Returns

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