ImageEn, unit iexBitmaps

TIEBitmap.Canvas

TIEBitmap.Canvas

Declaration

property Canvas: TCanvas;

Description

Returns the VCL canvas for the bitmap.

Note:
Generally you should use IECanvas instead. It will provide greater functionality and performance
Accessing the Canvas property wil automatically convert the bitmap location ieTBitmap
If the bitmap is attached to a TImageEnView, ensure that you call Update after drawing to the canvas

Example

// Text out using TCanvas
// Note: It is better to use TIECanvas.TextOut
iebmp.Canvas.TextOut( 200, 200, 'MY IMAGE' );