Enum BorderType

Enum BorderType

Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.3.0)

Enumerates the border line and diagonal line types.

[Flags]
public enum BorderType

Fields

BottomBorder = 8

Represents bottom border line.

Diagonal = 48

Special combination of multiple borders for user’s convenience for some APIs. Indicates diagonal borders of Aspose.Cells.BorderType.DiagonalUp and Aspose.Cells.BorderType.DiagonalDown.

It is combination of multiple borders for user’s convenience and can only be used for some APIs that accept multiple border types.

DiagonalDown = 16

Represents the diagonal line from top left to right bottom.

DiagonalUp = 32

Represents the diagonal line from bottom left to right top.

DynamicStyleBorders = 192

Indicates Aspose.Cells.BorderType.Vertical and Aspose.Cells.BorderType.Horizontal of dynamic style.

It is combination of multiple borders for user’s convenience and can only be used for some APIs that accept multiple border types.

Horizontal = 128

Only for dynamic style, such as conditional formatting.

LeftBorder = 1

Represents left border line.

None = 0

No border has been specified.

It can only be used for some APIs that accept none or multiple border types.

RightBorder = 2

Represents right border line exists.

SideBorders = 15

Indicates the four side borders: Aspose.Cells.BorderType.LeftBorder, Aspose.Cells.BorderType.RightBorder, Aspose.Cells.BorderType.TopBorder and Aspose.Cells.BorderType.BottomBorder.

It is combination of multiple borders for user’s convenience and can only be used for some APIs that accept multiple border types.

TopBorder = 4

Represents top border line.

Vertical = 64

Only for dynamic style, such as conditional formatting.

 English