[]
Gets or sets the underline style of the represented text.
This property uses a TextUnderlineType value that describes how the text is underlined.
TextUnderlineType Underline { get; set; }
Property Underline As TextUnderlineType
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 120, 60);
shape.TextFrame.TextRange.Text = "Hello";
shape.TextFrame.TextRange.Font.Underline = TextUnderlineType.Single;
TextUnderlineType underline = shape.TextFrame.TextRange.Font.Underline;