TTMSFNCBitmapHelper Class
Extends the bitmap class with convenience methods for loading and creating bitmaps from SVG strings, Base64 data, URLs, and application resources.
API unit family: TMSFNCTypes
Syntax
TTMSFNCBitmapHelper = class
Methods
| Name | Description |
|---|---|
| CreateFromBase64 | Creates and returns a new bitmap decoded from the specified Base64 string. |
| CreateFromFile | Creates and returns a new bitmap loaded from the specified image file. |
| CreateFromResource | Creates and returns a new bitmap loaded from the named resource in the current module. |
| CreateFromSVG | Creates and returns a new bitmap rendered from the specified SVG string. |
| CreateFromStream | Creates and returns a new bitmap loaded from the specified stream. |
| CreateFromURL | Downloads and returns a new bitmap from the specified URL. |
| LoadFromBase64 | Loads the bitmap from a Base64-encoded image string, replacing any existing content. |
| LoadFromResource | Loads a bitmap from an application resource in the current module, replacing any existing content. |
| LoadFromSVG | Loads the bitmap from an SVG string, replacing any existing content. |
| LoadFromStream | Loads the bitmap from the specified stream, replacing any existing content. |
| LoadFromURL | Downloads and loads a bitmap from the specified URL, replacing any existing content. |
| SaveToBase64 | Encodes the current bitmap content as a Base64 string and returns it. |
| SaveToStream | Saves the bitmap to the specified stream. |