BorderType Enumeration

Summary

Defines the cell's left, top, right, and bottom, border types.

Syntax

TypeScript
JavaScript
lt.Document.SheetEditor.BorderType = { 
	left: 0, 
	top: 1, 
	right: 2, 
	bottom: 3 
} 
lt.Document.SheetEditor.BorderType = { 
	left: 0, 
	top: 1, 
	right: 2, 
	bottom: 3 
} 

Members

Value Name Description
0 left Refers to the left border of a cell.
1 top Refers to the top border of a cell.
2 right Refers to the right border of a cell.
3 bottom Refers to the bottom border of a cell.

Remarks

The BorderType enumeration is often used in conjunction with BorderStyle to not only define where the border is placed but also its style. Being able to individually specify borders is particularly useful for creating grid layouts, emphasizing certain cells, or for aesthetic purposes in a worksheet. It is important to note that individual border types can be combined. For instance, applying both top and bottom borders to a cell without affecting the left and right borders.

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.