HotXLS-dokumentation Innehåll Startsida Översikt TGridToXLS IXLSWorkbook Startsida Innehåll Översikt

Underline egenskap

Returnerar or sets the type of underline applied to the font. Read/write LongWord

Syntax

property Underline: LongWord;

Beskrivning

Underline can be one of these XlUnderlineStyle constants: xlUnderlineStyleNone xlUnderlineStyleSingle xlUnderlineStyleDouble xlUnderlineStyleSingleAccounting xlUnderlineStyleDoubleAccounting

Exempel

This example sets the font in the cell A1 to single underline
Workbook.Worksheets[1].Range['A1', 'A1'].Font.Underline := xlUnderlineStyleSingle; Copyright © 2010-2026 losLab Software