![]() |
![]() |
StructFontProperties.Style
Property Style As cdrFontStyle
Member of StructFontProperties
The Style property returns or sets the style of a font.
The Style property returns a value of cdrFontStyle.
The following code 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 2007 Corel Corporation. All rights reserved.