Table of Contents

TTMSFNCBloxImage.LoadFromURL Method

Loads the image content from a URL using the default application instance. A local path is loaded directly; an HTTP/HTTPS address is downloaded first.

API unit family: TMSFNCBloxCoreTypes Declaring type: TTMSFNCBloxImage

Overloads

Overload 1

Loads the image content from a URL using the default application instance. A local path is loaded directly; an HTTP/HTTPS address is downloaded first.

procedure LoadFromURL(AURL: String); overload;

Parameters

Name Description
AURL Location of the image, either a local file path or an HTTP/HTTPS URL.

Overload 2

Loads the image content from a URL using the specified application instance. A local path is loaded directly; an HTTP/HTTPS address is downloaded first.

procedure LoadFromURL(AURL: String; AInstance: NativeUInt); overload;

Parameters

Name Description
AURL Location of the image, either a local file path or an HTTP/HTTPS URL.
AInstance Application instance handle used to resolve local resources.