TTMSMCPScaledBitmaps.AddBitmap Method
Wraps an existing bitmap object in a new collection item at the given scale and returns it.
API unit family: TMS.MCP.Types
Declaring type: TTMSMCPScaledBitmaps
Syntax
function AddBitmap(Bitmap: TTMSMCPBitmap; Scale: Single = 1.0): TTMSMCPScaledBitmap;
Parameters
| Name | Description |
|---|---|
Bitmap |
The bitmap to add. |
Scale |
Display scale factor. Defaults to 1.0. |
Returns
The newly added scaled bitmap item.