Previous Document Next Document

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


StructAlignProperties.VerticalCharacterShift

Property VerticalCharacterShift As Long

Description

Member of StructAlignProperties

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

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

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

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.