ImageEn, unit imageenview |
|
TImageEnView.BackBuffer
Declaration
property BackBuffer: TBitmap;
Description
Provides access to the back buffer where ImageEn will draw the image (and layers) prior to the paint event.
You can draw on BackBuffer by handling the
OnDrawBackBuffer event to paint onto the Backbuffer canvas.
BackBuffer is updated whenever
Update is called.
Note: BackBuffer is not updated when the control is not visible. To force updated of the BackBuffer, add iedoPaintWhenOffScreen to
DisplayOptions
| Demos\Other\CellsAndGrid\CellsAndGrid.dpr |
Procedure Form1OnDrawBackBuffer(Sender: TObject);
Begin
With ImageEnView1.BackBuffer.Canvas do
begin
Pen.Color := clRed;
MoveTo( 0, 0 );
LineTo( 100, 100 );
End;
End;