[]
Specifies the position of a folded corner in a cell decoration.
Use this enum with CornerFold to indicate which corner or corners of a decorated cell display the fold. Each enum value represents a flag that can be combined with other values by using bitwise operations to apply folded corners to multiple positions.
[Flags]
public enum CornerPosition
<Flags>
Public Enum CornerPosition
ICornerFold cornerFold = new CornerFold(
Color.Red,
CornerPosition.LeftTop | CornerPosition.RightTop,
8
);
worksheet.Range["A1"].Decoration = new CellDecoration(cornerFold);
| Name | Description |
|---|---|
| LeftBottom | Indicates that the folded corner is in the lower left corner. |
| LeftTop | Indicates that the folded corner is in the upper left corner. |
| None | Indicates no folded corner. |
| RightBottom | Indicates that the folded corner is in the lower right corner. |
| RightTop | Indicates that the folded corner is in the upper right corner. |