[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.CornerPosition

CornerPosition Enum

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.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
[Flags]
public enum CornerPosition
<Flags>
Public Enum CornerPosition
Examples
ICornerFold cornerFold = new CornerFold(
    Color.Red,
    CornerPosition.LeftTop | CornerPosition.RightTop,
    8
);
worksheet.Range["A1"].Decoration = new CellDecoration(cornerFold);

Fields

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.