Previous Document Next Document
StructAlignProperties.HorizontalCharacterShift

Property HorizontalCharacterShift As Long

Member of StructAlignProperties

The HorizontalCharacterShift property returns or sets the amount to horizontally shift characters of text.

The value of a horizontal character shift is measured as a percentage of the character’s point size. For example, if .HorizontalCharacterShift=50, the character is horizontally shifted a distance that is 50% of the character’s point size.

The following code example specifies a horizontal character shift of 10% for the second and third words of the text shape:

Sub Test() 
 ActiveShape.Text.AlignPropertiesInRange(2, 2, 
cdrWordIndexing).HorizontalCharacterShift = 10 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.