TTMSMCPBitmapHelper.CreateFromURL Method
Downloads and returns a new bitmap from the specified URL.
API unit family: TMS.MCP.Types
Declaring type: TTMSMCPBitmapHelper
Overloads
Overload 1
Downloads and returns a new bitmap from the specified URL.
class function CreateFromURL(AURL: string): TTMSMCPBitmap; 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): TTMSMCPBitmap; 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.