Previous Document Next Document

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


StructFontProperties.RangeKerning

Property RangeKerning As Long

Description

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.
VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.