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

# TPixmap

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

PixMap - a class derived from TBitMap , with wrapper to deal specifically with PixMaps (ie using 'XPM' format)

## Declaration

Source position: graphics.pp line 1446

`type TPixmap = class(TFPImageBitmap)`
`protected`
`function GetReaderClass; override;` |  | GetReaderClass - returns the class of reader for acquiring data from a stream
`function GetWriterClass; override;` |  | GetWriterClass - returns the class of writer for storing data to a stream
`function GetSharedImageClass; override;` |  | GetSharedImageClass - returns the class of Shared Raster Image
`public`
`function LazarusResourceTypeValid(); override;` |  | Check that the Resource specified for reading or writing is a valid type - result True if it is
`function GetFileExtensions; override;` |  | GetFileExtensions - returns a list of the file extensions available
`end;`

## Inheritance

`TPixmap` |  | PixMap - a class derived from TBitMap , with wrapper to deal specifically with PixMaps (ie using 'XPM' format)
`TFPImageBitmap` |  | A class of Bitmap using the FPImage reader and writer (ie customised for FreePascal)
`TCustomBitmap` |  | TCustomBitMap - the base class for TBitmap
`TRasterImage` |  | TRasterImage - base class for a number of graphic controls, including TCustomBitmap and TCustomIcon, which use a raster of dots to display graphic information
`TGraphic` |  | TGraphic - Base class for dealing with Graphic images
`TPersistent`
`TObject`

## Description

PixMap - Checks that specified resources (PixMap image, File for storage, Stream for writing) are of correct type and format, organises saving and writing

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