alignment Property

Summary

Gets or sets the alignment of the overlay text.

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

Property Value

OverlayAlignment enumeration that represents alignment of the overlay text.

Remarks

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.

Requirements

Target Platforms

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

Leadtools.Controls.Medical Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.