Icon Methods

Overview | This Package | All Packages

Icon Methods

Constructors Description
Icon

Methods Description
clone Clones the Icon object and returns a duplicate.

copyHandle Retrieves a copy of the Win32 handle for this icon.

createSmallIcon Creates and returns a small icon copy of the specified Icon object.

destroyHandle Called when this object is going to destroy its Win32 handle.

dispose Frees the resources allocated by this object.

drawStretchTo Renders the icon image to a Graphics object, stretching the image to fill the specified dimensions.

drawTo Renders the icon image (or part of it) to a Graphics object, cropping the image to fit the specified dimensions.

finalize Frees the resources allocated by the Icon object.

getExtension Retrieves the recommended file extension for files that persist this object.

getHandle Retrieves the Win32 handle to this icon.

getPICTDESC Retrieves a PICTDESC (Picture Descriptor) for this icon. 

getSize Retrieves the size of this Icon object's image.

toString Retrieves a human-readable string representation of this object.