Function TWPImageList.LoadSVGFromStream(Stream:TStream; Compressed:Boolean; ColCount:Integer; RowCount:Integer) : Boolean
Unit: WPUtil
Class: WPUtil.TWPImageList
Parameters
-
Stream:TStream Compressed:Boolean ColCount:Integer RowCount:Integer
Returns
The type of the result value is Boolean.
Description
This function creates an internal SVGRender and loads the svg data. Using SVG Data no bitmaps needs to be created. They will be created as required in the correct size. This helps to reduce the size of an application and icons are never blurred. To force are re-rendering of all icons call ImageList.Clear.Note: You can use LoadSVGFromStream(nil, ...) to free all data.