Previous Document Next Document
StructFontProperties.Underline

Property Underline As cdrFontLine

Member of StructFontProperties

The Underline property returns or sets the type of line that appears under text.

The Underline property returns a value of cdrFontLine.

The following code 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 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.