Skip to main content
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.

FMX.TMSFNCBloxCoreTypes.hppPascalC++
procedure LoadFromURL(AURL: String); overload;
void __fastcall LoadFromURL(System::UnicodeString AURL)/* 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.

FMX.TMSFNCBloxCoreTypes.hppPascalC++
procedure LoadFromURL(AURL: String; AInstance: NativeUInt); overload;
void __fastcall LoadFromURL(System::UnicodeString AURL, System::NativeUInt AInstance)/* 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.