Object Model Reference : Classes : S : StructFontProperties : Properties : StructFontProperties.RangeKerning |
Property RangeKerning As Long
Member of StructFontProperties
The RangeKerning property returns or specifies the amount of white space between the characters in a text object.
• |
This value represents a percentage of the Space character (that is, the character
inserted when you press the Spacebar). The maximum value is 1000; the
minimum value is -100.
|
The following VBA example creates a text string and adjusts the kerning of the second word in it.
Sub Test() |
Dim s As Shape |
Set s = ActiveLayer.CreateArtisticText(4, 5, "Some loose text") |
s.Text.FontPropertiesInRange(2, 1, cdrWordIndexing).RangeKerning = 100 |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.