CaptureImage.flipTo Method

Module: CaptureImage

Definition

Flips the image.

flip_to(self, flip_horizontally: bool, flip_vertically: bool, dst_capture_image: CaptureImage) -> None

Parameters

flip_horizontally bool
in Value indicating whether the image should be flipped horizontally.

flip_vertically bool
in Value indicating whether the image should be flipped vertically.

dst_capture_image CaptureImage
in The destination Image object that receives the flipped image.

Exceptions

An error has occurred during Devices Library execution.
void flipTo(bool flipHorizontally, bool flipVertically, CaptureImage dstCaptureImage)

Parameters

flipHorizontally bool
in Value indicating whether the image should be flipped horizontally.

flipVertically bool
in Value indicating whether the image should be flipped vertically.

dstCaptureImage CaptureImage
in The destination Image object that receives the flipped image.

Exceptions

An error has occurred during Devices Library execution.
public void FlipTo(bool flipHorizontally, bool flipVertically, CaptureImage dstCaptureImage)

Parameters

flipHorizontally bool
in Value indicating whether the image should be flipped horizontally.

flipVertically bool
in Value indicating whether the image should be flipped vertically.

dstCaptureImage CaptureImage
in The destination Image object that receives the flipped image.

Exceptions

An error has occurred during Devices Library execution.
public void flipTo(boolean flipHorizontally, boolean flipVertically, CaptureImage dstCaptureImage) throws DevicesException

Parameters

flipHorizontally boolean
in Value indicating whether the image should be flipped horizontally.

flipVertically boolean
in Value indicating whether the image should be flipped vertically.

dstCaptureImage CaptureImage
in The destination Image object that receives the flipped image.

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesCaptureImage_FlipTo (
    ID3_DEVICES_CAPTURE_IMAGE hCaptureImage,
    bool flipHorizontally,
    bool flipVertically,
    ID3_DEVICES_CAPTURE_IMAGE hDstCaptureImage)

Parameters

in Handle to the CaptureImage object.

flipHorizontally bool
in Value indicating whether the image should be flipped horizontally.

flipVertically bool
in Value indicating whether the image should be flipped vertically.

hDstCaptureImage ID3_DEVICES_CAPTURE_IMAGE
in The destination Image object that receives the flipped image.

Returns

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