Get the internal url of an image in buffer specified by index .


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


<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


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


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

The returned URL will be like "dwt://dwt_trial_13000404/img?id=306159652&index=0&t=1502184632022".  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.