HorizontalAlignment Enumeration

Summary

Defines constants that specify the horizontal alignment of content within a container, such as a cell in a spreadsheet or a text block in a document. Allows developers to precisely control how content is positioned horizontally, enhancing the layout and readability of the content.

Syntax

TypeScript
JavaScript
lt.Document.SheetEditor.HorizontalAlignment = { 
	general: 0, 
	left: 1, 
	center: 2, 
	right: 3 
} 
lt.Document.SheetEditor.HorizontalAlignment = { 
	general: 0, 
	left: 1, 
	center: 2, 
	right: 3 
} 

Members

Value Name Description
0 general The default horizontal alignment.
1 left Aligns content to the left side of the container.
2 center Aligns contents to the horizontal center within the container.
3 right Aligns content to the right side of the container.

Requirements

Target Platforms

See Also

Leadtools.Document.SheetEditor Namespace

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

Leadtools.Document.SheetEditor Assembly

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