enableObjectsAlignment Property


Gets or sets a value that indicates whether you can align selected objects based on one of them.

Object.defineProperty(AnnAutomationManager.prototype, 'enableObjectsAlignment', 
	get: function(), 
	set: function(value) 
enableObjectsAlignment: boolean; 

Property Value

true if you can align selected objects based on one of them; otherwise, false. The default value is false.


When setting this property to true and when there are multiple selected objects, you can align them based on a target alignment object, which is one of the selected objects. The default alignment object is the last object added to the container and 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 and you can change the way it is highlighting by overriding RenderAlignmentTarget method.

the alignment methds you can use are as follows:

Target Platforms
Help Version 21.0.2021.3.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly