Click or drag to resize

BorderPositions Enumeration

Enumerates the different types of borders that can be applied to elements.

Namespace: Spire.Doc.Formatting
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public enum BorderPositions
Members
Member name Value Description
None -1 Represents no border being applied.
Bottom 0 Represents a border at the bottom of the element.
Left 1 Represents a border at the left side of the element.
Right 2 Represents a border at the right side of the element.
Top 3 Represents a border at the top of the element.
Horizontal 4 Represents a horizontal border spanning across the element (typically bottom or top).
Vertical 5 Represents a vertical border spanning along the side of the element (typically left or right).
DiagonalDown 6 Represents a diagonal border from the top-left to the bottom-right of the element.
DiagonalUp 7 Represents a diagonal border from the bottom-left to the top-right of the element.
See Also