Marblecore Imaging Library Documentation

Documentation Introduction
Documentation / Marblecore Imaging / Methods / InsertFromURL

InsertFromURL method

Inserts the image at the specified URL into the current loaded image at the specified position.

Syntax

Boolean InsertFromURL(strURL As String, nLeft As Number, nTop As Number, nOpacity As Number, nCropLeft As Number, nCropTop As Number, nCropWidth As Number, nCropHeight As Number, nWidth As Number, nHeight As Number, nResize As Resize, nResample As Resample)

Return value

Returns true if the function succeeded.

Parameters

ParameterTypeRequiredDescription
strURLStringYesString containing the URL of the image to insert.
nLeftNumberYesSpecifies the horizontal coordinate where the image needs to be inserted.
nTopNumberYesSpecifies the vertical coordinate where the image needs to be inserted.
nOpacityNumberNoOptional parameter which specifies the opacity of the image.
nCropLeftNumberNoOptional paremeter which specifies the left cropping of the image.
nCropTopNumberNoOptional paremeter which specifies the top cropping of the image.
nCropWidthNumberNoOptional paremeter which specifies the width of the cropping area of the image.
nCropHeightNumberNoOptional paremeter which specifies the height of the cropping area of the image.
nWidthNumberNoOptional parameter which specifies the desired width of the image to insert.
nHeightNumberNoOptional parameter which specifies the desired height of the image to insert.
nResizeResize (Enumeration)NoOptional parameter which specifies the desired resizing method which should be used if the image needs to be resized. Resizing occurs after optional cropping.
nResampleResample (Enumeration)NoOptional parameter which specifies the desired resample method which should be used if the image needs to be resized.

Category

Insert

See also

InsertFromBase64 | InsertFromFile | InsertFromSerializedStream | InsertFromStream