Previous Document Next Document

Object Model Reference : Classes : S : StructFontProperties : Properties : StructFontProperties.Underline


StructFontProperties.Underline

Property Underline As cdrFontLine

Description

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.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.