[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Graphics' (#lcl)

# TIconImage

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TIconImage - a primitive Icon class with handles for the Bitmap, Mask and Palette

## Declaration

Source position: graphics.pp line 1540

`type TIconImage = class`
`protected`
`procedure RawImageNeeded();` |  | RawImageNeeded - if ADescOnly is True (descriptor only), then we need a Raw Image
`procedure UpdateFromImage();`
`public`
`procedure Create();` |  | Create - Specifies a Raw image to be used, then used Inherited Create
`destructor Destroy; override;` |  |
`function ReleaseHandle;` |  | ReleaseHandle - returns Bitmap handle to Operating system
`function ReleaseMaskHandle;` |  | ReleaseMaskHandle - returns mask Bitmap handle to operating system
`function ReleasePalette;` |  | ReleasePalette - returns Palette handle to operating system
`function UpdateHandles();` |  | UpdateHandles - returns True when Bitmap and Mask handles have been updated
`property Height: Word; [r]` |  | The Height of the Icon
`property Width: Word; [r]` |  | The Width of the Icon
`property PixelFormat: TPixelFormat; [r]` |  | PixelFormat - the format of the Pixels in the Image
`property Handle: HBITMAP; [r]` |  | Handle - for the Bitmap
`property MaskHandle: HBITMAP; [r]` |  | MaskHandle - Bitmap handle for the Mask
`property Palette: HPALETTE; [r]` |  | Handle for the Palette
`end;`

## Inheritance

`TIconImage` |  | TIconImage - a primitive Icon class with handles for the Bitmap, Mask and Palette
`TObject`

The latest version of this document can be found at lazarus-ccr.sourceforge.net .