Previous Document Next Document

Object Model Reference : Classes : S : StructAlignProperties : Properties : StructAlignProperties.HorizontalCharacterShift


StructAlignProperties.HorizontalCharacterShift

Property HorizontalCharacterShift As Long

Description

Member of StructAlignProperties

The HorizontalCharacterShift property returns or specifies the amount by which to horizontally shift the characters in a text object.

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

The following VBA example specifies a horizontal character shift of 10% for the second and third words of the text object.

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.