TPNGImage help

TPNGImage

Components > TPNGObject > Methods > LoadFromResourceName


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

procedure
LoadFromResourceName(Instance: HInst; const Name: String);

Description

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