CaptureImage.rotate Method

Module: CaptureImage

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 Devices 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 Devices 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 Devices Library execution.
public void rotate(int angle) throws DevicesException

Parameters

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

Exceptions

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

Parameters

in Handle to the CaptureImage object.

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

Returns

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