TPNGImage help

TPNGImage

Components > TPNGObject > Methods > LoadFromResourceID


Loads a png file from a resource using a resource id.

procedure
LoadFromResourceID(Instance: HInst; ResID: Integer);

Description

Use LoadFromResourceName to load a Portable Network Graphics image from a file resource. When you have the resource name, use LoadFromResourceName instead.