[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ICornerFold

ICornerFold Interface

Indicates the corner fold of cell decoration.

An ICornerFold describes the visual fold shown at one or more corners of a decorated cell, including its color, position, and size in pixels. Use it with CellDecoration and Decoration to apply corner fold decoration to a cell or range.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public interface ICornerFold
Public Interface ICornerFold
Examples
ICornerFold fold = new CornerFold(Color.Red, CornerPosition.LeftTop, 8);
worksheet.Range["A1"].Decoration = new CellDecoration(fold);
ICornerFold cornerFold = worksheet.Range["A1"].Decoration.CornerFold;
Color color = cornerFold.Color;

Properties

Name Description
Color

Returns the color of the corner fold.

Position

Returns the position of the corner fold.

Size

Returns the size of the corner fold in pixels.

This value specifies the fold size used when the corner fold is rendered.