Dynamsoft Home|Product Home

Mirror Method

Description

Mirrors the image of a specified index in buffer.

Syntax

Boolean ObjectName. Mirror(Short sImageIndex)

Parameters

Short sImageIndex: specifies the index of image in buffer. The index is 0-based. 

Return value

Boolean.

TRUE indicates success. FALSE indicates failure.

When an error occurs and IfThrowException property is TRUE, an exception will be thrown.

When FALSE is returned or an exception is thrown, check ErrorCode property and ErrorString property for error information.

Remarks

Mirror() mirrors an image and replaces the original image with the mirrored copy.

See Also

RotateLeft(), RotateRight(), Flip(), Crop(), CropToClipboard(), GetImageSize(), ChangeImageSize(), ShowImageEditor(), ImageEditorWindowTitle property, ImageEditorIfReadonly property, ImageEditorIfEnableEnumerator property