SetImageWidth()

Description

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

Syntax

.SetImageWidth(ImageIndex, 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

The allowed bit depths are 1, 4, 8, 24.

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.