TOlfSVGBitmapList.Bitmap Method

Overloads

Bitmap(Word, Word, Integer, Integer, Single)

Get a bitmap from the SVG in "FromList" list at "AtIndex" with specified sizes.

Bitmap(Word, Word, Integer, Integer, Single, Single, Single, Single, Single)

Get a bitmap from the SVG in "FromList" list at "AtIndex" with specified sizes.

Bitmap(Word, Integer, Integer, Single)

Get a bitmap from the SVG in default list at "AtIndex" with specified sizes.

Bitmap(Word, Integer, Integer, Single, Single, Single, Single, Single)

Get a bitmap from the SVG in default list at "AtIndex" with specified sizes.

Bitmap(Word, Word, Integer, Integer, Single)

Get a bitmap from the SVG in "FromList" list at "AtIndex" with specified sizes.

Delphi
class function Bitmap(const FromList: word; const AtIndex: word; const Width: integer; const Height: integer; const BitmapScale: single = 1): TBitmap

Parameters

FromList
Word
AtIndex
Word
Width
Integer
Height
Integer
BitmapScale
Single

Returns

TBitmap

Remarks

If the bitmap doesn't exist in the cache, it's added to it after drawing. If the bitmap already exists in the cache, you get a reference to it.

Bitmap(Word, Word, Integer, Integer, Single, Single, Single, Single, Single)

Get a bitmap from the SVG in "FromList" list at "AtIndex" with specified sizes.

Delphi
class function Bitmap(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
Word
AtIndex
Word
Width
Integer
Height
Integer
MarginTop
Single
MarginRight
Single
MarginBottom
Single
MarginLeft
Single
BitmapScale
Single

Returns

TBitmap

Remarks

If the bitmap doesn't exist in the cache, it's added to it after drawing. If the bitmap already exists in the cache, you get a reference to it. The margins values must be decimal values between 0 and 100 (as a percent).

Bitmap(Word, Integer, Integer, Single)

Get a bitmap from the SVG in default list at "AtIndex" with specified sizes.

Delphi
class function Bitmap(const AtIndex: word; const Width: integer; const Height: integer; const BitmapScale: single = 1): TBitmap

Parameters

AtIndex
Word
Width
Integer
Height
Integer
BitmapScale
Single

Returns

TBitmap

Remarks

If the bitmap doesn't exist in the cache, it's added to it after drawing. If the bitmap already exists in the cache, you get a reference to it.

Bitmap(Word, Integer, Integer, Single, Single, Single, Single, Single)

Get a bitmap from the SVG in default list at "AtIndex" with specified sizes.

Delphi
class function Bitmap(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

AtIndex
Word
Width
Integer
Height
Integer
MarginTop
Single
MarginRight
Single
MarginBottom
Single
MarginLeft
Single
BitmapScale
Single

Returns

TBitmap

Remarks

If the bitmap doesn't exist in the cache, it's added to it after drawing. If the bitmap already exists in the cache, you get a reference to it. The margins values must be decimal values between 0 and 100 (as a percent).