GetImageURL

Description

Get the url of the new image resized from the image of a specified index in buffer.

Syntax

.GetImageURL(index, [optional iWidth, optional iHeight]);

Parameters

<int> index: specifies the index of image in buffer. The index is 0-based.
optional<int> iWidth: specifies the new width.
optional<int> iHeight: specifies the new height.

Return value

<string>

When an error occurs, check ErrorCode or ErrorString for error information.

Remarks

This method is valid only in the HTML5 Edition from v12.0.

If iWidth and iHeight are not specified, the original image will be returned.

The lowest limit for iWidth and iHeight is 150.

Is this page helpful?

Leave a Reply

Your email address will not be published.