BkBitmap

<< Click to Display Table of Contents >>

Navigation:  TMyCAD > Properties >

BkBitmap

property BkBitmap:TBitmap

 

Description:

 

 Set the background bitmap for TMyCAD, for clear it , BkBtimap:=nil;

 

 

Example:

 

The example show assign a bitmap that you load to MyCAD1.

var

  mybitmap:TBitmap;

begin

  if OpenPictureDialog1.Execute then

  begin

       myBitmap:=TBitmap.Create;

       mybitmap.LoadFromFile(OpenPictureDialog1.FileName);

       MyCAD1.BkBitmap:=mybitmap;

       MyBitmap.Free;

  end;

end;

 

See also:

 

BkBitmapMode