TPNGImage help

TPNGImage

Components > TPNGObject > Methods > AssignHandle


Assigns contents from a windows bitmap handle.

procedure
AssignHandle(Handle: HBitmap);

Description

Use AssignHandle to copy image contents from a windows bitmap handle into the current image.
Note: AssignHandle does not owns the handle in the parameter. The program is responsible to destroy it
using API DeleteObject.