TOlfSVGBitmapList.BitmapWithNoCache Method

Get a bitmap from the SVG in "FromList" list at "AtIndex" with specified sizes. No cache is used, the bitmap is drawn each time you call this function.

Unit: Olf.Skia.SVGToBitmap
class function BitmapWithNoCache(const FromList: word; const AtIndex: word; const Width: integer; const Height: integer; const MarginTop: single; const MarginRight: single; const MarginBottom: single; const MarginLeft: single; const BitmapScale: single = 1): TBitmap

Parameters

FromList
Type: System.Word

AtIndex
Type: System.Word

Width
Type: System.Integer

Height
Type: System.Integer

MarginTop
Type: System.Single

MarginRight
Type: System.Single

MarginBottom
Type: System.Single

MarginLeft
Type: System.Single

BitmapScale
Type: System.Single

Return Value

Type: TBitmap

 

The margins values must be decimal values between 0 and 100 (as a percent).