TTMSFNCSVGImageCollection Class
Image collection component that stores SVG-based images and renders them at any target size by rasterizing the vector source on demand.
API unit family: TMSFNCTypes
Inherits from: TCustomImageCollection
Syntax
TTMSFNCSVGImageCollection = class(TCustomImageCollection)
Properties
| Name | Description |
|---|---|
| Images | The collection of SVG image items managed by this component. |
Methods
| Name | Description |
|---|---|
| Draw | Draws the image at the specified index into a rectangle on the canvas. |
| GetBitmap | Rasterizes the SVG at the given index to the requested pixel dimensions and returns the result as a bitmap. |
| GetIndexByName | Returns the zero-based index of the image with the specified name, or -1 if not found. |
| GetItemByIndex | Returns the collection item at the specified zero-based index. |
| GetNameByIndex | Returns the name of the image at the specified zero-based index. |
| IsIndexAvailable | Returns True when the given zero-based index is within the valid range of the images collection. |