Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.29
|
Leadtools.Annotations.Automation Assembly > Leadtools.Annotations.Automation Namespace > AnnAutomationManager Class : EnableObjectsAlignment Property |
public bool EnableObjectsAlignment {get; set;}
'Declaration
Public Property EnableObjectsAlignment As Boolean
public bool EnableObjectsAlignment {get; set;}
public boolean getEnableObjectsAlignment() public void setEnableObjectsAlignment(boolean enableObjectsAlignment)
<br/>get_EnableObjectsAlignment();<br/>set_EnableObjectsAlignment(value);<br/>Object.defineProperty('EnableObjectsAlignment');
When setting this property to true if there are multiple selected objects, you can align them based on a target alignment object. The target is one of the selected objects which by default is the last object added to the container. You can select the target alignment object by clicking on it when its grouped in a selection rectangle.
The alignment target object will be highlighted by a blue rectangle. You can change the way it highlights by overriding RenderAlignmentTarget method.
The alignment methods you can use are as follows: