Previous Document Next Document
EffectTextOnPath.Quadrant

Property Quadrant As cdrFittedQuadrant

Member of EffectTextOnPath

The Quadrant property returns or sets the placement of text on a closed curve.

This property returns cdrFittedQuadrant.

See also the Placement property.

The following code 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 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.