Object Model Reference : Classes : S : StructFontProperties : Properties : StructFontProperties.Position |
Property Position As cdrFontPosition
Member of StructFontProperties
The Position property returns or specifies the position of the characters in a text object.
The Position property returns a value of cdrFontPosition.
The following VBA example creates a text object with a subscript character.
Sub Test() |
Dim s As Shape |
Set s = ActiveLayer.CreateArtisticText(4, 5, "H2O") |
s.Text.FontPropertiesInRange(2, 1).Position = cdrSubscriptFontPosition |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.