rvico TRichView Reference | Global procedures and functions

DrawControl and DrawButton, DrawEdit, DrawMemo,  DrawPanel Functions

Top  Previous  Next

These functions create bitmap having the size of the specified control, draw image of this control into this bitmap, return this bitmap.

Unit CtrlImg.


function DrawControl(ctrl: TControl): TBitmap;


function DrawButton(ctrl: TButton): TBitmap;

function DrawEdit(ctrl: TEdit): TBitmap;

function DrawMemo(ctrl: TMemo): TBitmap;

function DrawPanel(ctrl: TPanel): TBitmap;

DrawControl has the functionality of all other functions of this group.

TRVPrint use these functions for default printing of inserted controls, see OnPrintComponent event.


TRichView © trichview.com