SaveToBmp

<< Click to Display Table of Contents >>

Navigation:  TMyCAD > Methods >

SaveToBmp

procedure SaveToBmp(Bmp:TBitmap; NewWidth,  NewHeight: integer); overload;

       

Description:

 

    Save TMyCAD drawing to a disk file in new ratio, it is in BMP format . if NewWidth/ Width > NewHeight / Height , then the zoom according  NewWidth/ Width, else according NewHeight / Height.

 

Example:

 

 MyCAD1.SavetoBMP('c:\SavedFile.bmp',100,200);

 

 

See also:

 

LoadFromFile

SavetoStream

SaveToWMF

SaveToJPG