ImageEn, unit ievect

TImageEnVect.DrawObjectsToBitmap

TImageEnVect.DrawObjectsToBitmap


Declaration

procedure DrawObjectsToBitmap(target: TIEBitmap; Antialias: boolean = true; AdaptBitmapPixelFormat: boolean = true);


Description

DrawObjectsToBitmap draws all vectorial objects on the specified TIEBitmap object (target).
Antialias parameter controls the anti-alias filter.
If AdaptBitmapPixelFormat is true (default) the image will be converted to 24 bit RGB before drawing objects.


Example

ImageEnVect.DrawObjectsToBitmap( ImageEnView2.IEBitmap, true );
ImageEnView2.Update();


Transition Information

If you are transitioning your code to TImageEnView Layers, instead of DrawObjectsToBitmap, use: TImageEnView.LayersDrawTo

ImageEnView1.LayersDrawTo();