Object Model Reference : Classes : E : EffectTextOnPath : Properties : EffectTextOnPath.Quadrant |
Property Quadrant As cdrFittedQuadrant
Member of EffectTextOnPath
The Quadrant property returns or specifies the placement of text on a closed curve.
This property returns cdrFittedQuadrant.
• |
See also the EffectTextOnPath.Placement property.
|
The following VBA example places the text on the right side of a circle.
Sub Test() |
Dim sText As Shape, sPath As Shape |
Set sText = ActiveLayer.CreateArtisticText(0, 0, "Some Text") |
Set sPath = ActiveLayer.CreateEllipse2(4.25, 5.5, 2) |
sText.Text.FitToPath sPath |
sText.Effects(1).TextOnPath.Quadrant = cdrRightQuadrant |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.