[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IFontFormat.Strikethrough

Strikethrough Property

Strikethrough

Gets or sets whether the represented text has a strike through it.

Declaration
bool Strikethrough { get; set; }
Property Strikethrough As Boolean
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 120, 60);
shape.TextFrame.TextRange.Text = "Hello";
shape.TextFrame.TextRange.Font.Strikethrough = true;
bool strikethrough = shape.TextFrame.TextRange.Font.Strikethrough;