ImageEn, unit imageenview

TImageEnView.LayersRotateAll

TImageEnView.LayersRotateAll


Declaration

procedure LayersRotateAll(Value: Double; bSelectedOnly: Boolean = False; bFixRotations: Boolean = False);


Description

Rotates all layers (or just selected if bSelectedOnly = True) by the specified angle (negative or positive degrees counter-clockwise). This method updates Rotate.
If bFixRotations = True, then LayersFixRotations is called to finalize the rotation of the layer and improve quality.


Examples

// Rotate all layers 45° clockwise
ImageEnView1.LayersRotateAll( 315 );

// Rotate selected layers 90° clockwise
ImageEnView1.LayersRotateAll( 270, true );


See Also

 LayersRepositionAll
 LayersSizeAll
 LayersFixRotations