SwitchImage()

Description

Switches two images of specified indices in the buffer.

Syntax

.SwitchImage(short sImageIndex1, short sImageIndex2);

Parameters

<short> sImageIndex1: specifies the 1st index of the images to be switched. The index is 0-based.
<short> sImageIndex2: specifies the 2nd index of the images to be switched. The index is 0-based.

Return value

bool

true indicates success. false indicates failure.

When false is returned, check ErrorCode or ErrorString for error information.

Is this page helpful?

Leave a Reply

Your email address will not be published.