function LoadPng
function LoadPng(Bmp : TBitmap32; Pngfile : String) : boolean;
Declared in: svn\Common\Units\SharpIconUtils\SharpIconUtils.pas
Parameters
- Bmp: TBitmap32
Pointer/Handle to a valid TBitmap32 which will receive the loaded png images.
- PngFile: String
Path to the .png file which will be loaded.
Description
The Loadpng function cab be used to easily load a .png file into a TBitmap32.
By using this function the png image is loaded with full alpha channel informations.
Loading png images can also be done by using the IconStringToIcon function.
Examples
LoadPng(MyBitmap,'C:\1.png');
