alignment Property


Gets or sets the alignment of the overlay text.

Object.defineProperty(OverlayText.prototype, 'alignment', 
	get: function(), 
	set: function(value) 
alignment: OverlayAlignment; 

Property Value

OverlayAlignment enumeration that represents alignment of the overlay text.


The alignment will be the starting point of the overlay text drawing, so if the value is for example TopLeft, then the overlay text will be drawn at the top left of the cell / sub-cell, if the user adds another text with TopLeft alignment, then he must set PositionIndex to differnt (usually higher) value to write the text below the first one, and prevent them from overlapping.


Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.Medical Assembly