TTMSMCPSVGImport.GenerateBitmap Method
Renders the current SVG content into a new bitmap of the specified size and returns it.
API unit family: TMS.MCP.Types
Declaring type: TTMSMCPSVGImport
Syntax
function GenerateBitmap(AWidth: Single = - 1; AHeight: Single = -1): TTMSMCPBitmap; virtual; abstract;
Parameters
| Name | Description |
|---|---|
AWidth |
The output bitmap width in pixels. Use -1 to use the SVG's natural width. |
AHeight |
The output bitmap height in pixels. Use -1 to use the SVG's natural height. |
Returns
A new bitmap containing the rendered SVG content.