Table of Contents

TTMSFNCBitmapHelper.CreateFromURL Method

Downloads and returns a new bitmap from the specified URL.

API unit family: TMSFNCTypes Declaring type: TTMSFNCBitmapHelper

Overloads

Overload 1

Downloads and returns a new bitmap from the specified URL.

class function CreateFromURL(AURL: string): TTMSFNCBitmap; overload;

Parameters

Name Description
AURL The URL of the image to download.

Returns

A new bitmap downloaded from the URL.

Overload 2

Downloads and returns a new bitmap from the specified URL using the given module instance.

class function CreateFromURL(AURL: string; AInstance: NativeUInt): TTMSFNCBitmap; overload;

Parameters

Name Description
AURL The URL of the image to download.
AInstance The module instance handle used for URL resolution context.

Returns

A new bitmap downloaded from the URL.