SetImageWidth()

Description

Change the width of an image specified by index by adding an extra margin or removing part of the image.

Syntax

.SetImageWidth(sImageIndex, iNewWidth);

Parameters

<short> sImageIndex: specifies the index of the image to be converted. The index is 0-based.
<int> iNewWidth: specifies the new width.

Return value

bool

true indicates success. false indicates failure.

Remarks

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.