Vcl.Imaging.pngimage.TPngImage.AssignHandle
Delphi
procedure AssignHandle(Handle: HBitmap; Transparent: Boolean;
TransparentColor: ColorRef);
C++
void __fastcall AssignHandle(HBITMAP Handle, bool Transparent, unsigned TransparentColor);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Imaging.pngimage.pas Vcl.Imaging.pngimage.hpp |
Vcl.Imaging.pngimage | TPngImage |
Description
Copies the properties and the contents of a bitmap object.
Call AssignHandle to copy the image and the properties contained within a Windows bitmap object. The Transparent and TransparentColor parameters specify whether the Windows bitmap object is copied preserving the transparency options.