mirror()

Description

Mirrors the image of a specified index in the buffer.

Syntax

ImageViewerObject.image.mirror(index);

Parameters

<int> index: specifies the index of image in the buffer. The index is 0-based.

Return value

bool

true indicates success. false indicates failure.

When false is returned, check getErrorCode() or getErrorString() for error information.

Example

if (DCSObject) {
    var imageviewer = DCSObject.getImageViewer("ImageViewerContainer");
    imageviewer.image.mirror(0);
}
Is this page helpful?

Leave a Reply

Your email address will not be published.