Object Model Reference : Classes : T : TextRange : Properties : TextRange.CharAngle |
Property CharAngle As Single
Member of TextRange
The CharAngle property returns or specifies the rotation angle of a text range.
The following VBA example sets the rotation angle for the text range to 77°.
Sub Test() |
Dim d As Document |
Dim s As Shape |
Dim t As Text |
Set d = CreateDocument |
Set s = d.ActiveLayer.CreateParagraphText(2, 2, 4, 4, "This is an example.") |
Set t = s.Text |
t.Story.CharAngle = 77 |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.