ImageEn, unit IEVect

TImageEnVect.AlignObjects

TImageEnVect.AlignObjects


Declaration

procedure AlignObjects(Alignment: TIEAlignLayers; bSelectedOnly: Boolean = true);


Description

Aligns objects relative to the image or other objects. If bSelectedOnly is false, then all objects are aligned.


Example

// Move all objects to the center of the image
ImageEnView1.AlignObjects( ilaAlignToVerticalCenter );


Transition Information

If you are transitioning your code to TImageEnView Layers, instead of AlignObjects, use: TImageEnView.LayersAlign

ImageEnView1.LayersAlign();