Object Model Reference : Classes : S : StructFontProperties : Properties : StructFontProperties.Underline |
Property Underline As cdrFontLine
Member of StructFontProperties
The Underline property returns or specifies the type of line that appears under the characters in a text object.
The Underline property returns a value of cdrFontLine.
The following VBA example creates a text object and applies double underline to it.
Sub Test() |
Dim s As Shape |
Set s = ActiveLayer.CreateArtisticText(4, 5, "Some Text String") |
s.Text.FontProperties.Underline = cdrDoubleThinFontLine |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.