Gets or sets a value that indicates whether the font is struck through with a horizontal line.
[Visual Basic] Property Strikethrough As Boolean [C#] bool Strikethrough { get; set; } [C++] __property bool get_Strikethrough(); __property void set_Strikethrough(bool ); [JScript] function get Strikethrough() : bool function set Strikethrough(bool);
true if the font is struck through with a horizontal line; otherwise, false.
This example sets the font style to strikethrough for the range A1:A5 on sheet one.
[C#]
book.Worksheets[1].Range["A1:A5"].Font.Strikethrough = true;
[Visual Basic]
book.Worksheets(1).Range("A1:A5").Font.Strikethrough = true
[C++]
book->Worksheets->Item[1]->Range->Item[S"A1:A5"]->Font->Strikethrough = true;
IFont Interface | NativeExcel Namespace