Object Model Reference : Classes : S : StructFontProperties : Properties : StructFontProperties.Style |
Property Style As cdrFontStyle
Member of StructFontProperties
The Style property returns or specifies the style of a font.
The Style property returns a value of cdrFontStyle.
The following VBA example creates a text string and applies a bold, italic style to the first word.
Sub Test() |
Dim s As Shape |
Set s = ActiveLayer.CreateArtisticText(4, 5, "Highlight your ideas!") |
s.Text.FontPropertiesInRange(1, 1, cdrWordIndexing).Style = cdrBoldItalicFontStyle |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.