ImageEn, unit ievect

TImageEnVect.RotateAllObjects

TImageEnVect.RotateAllObjects


Declaration

procedure RotateAllObjects(angle: double; center: TIERotateCenter);


Description

Rotates all objects by the specified angle (in degrees).

If center is ierImage only 90/180/270 degrees rotations are allowed
iekBOX, iekELLIPSE, iekBITMAP, iekTEXT can be rotated only by 90/180/270 degrees
This method doesn't work with iekMEMO and curved texts
It is better to call RotateAllObjects before Proc.Rotate.


Example

// rotate the image and objects by 90 degrees
ImageEnVect1.RotateAllObjects(90, ierImage);
ImageEnVect1.Proc.Rotate(90);