HotXLS Delphi Excel Read Write Library / Component Developers Guide loslab Inc.

Strikethrough property

True if the font is struck through with a horizontal line. Read/write Boolean.

Syntax

property Strikethrough: boolean;

Example

This example sets the font style to strikethrough for the range A1:A5 on sheet one.

Workbook.Worksheets[1].Range['A1', 'A5'].Font.Strikethrough := True;
Copyright©2007-2019 loslab.com