|   |   | Object Model Reference : Classes : E : EffectTextOnPath : Properties : EffectTextOnPath.Offset | 
Property Offset As Double
Member of EffectTextOnPath
The Offset property returns or specifies the horizontal text offset from the beginning of the path.
The following VBA example attaches a text shape to a path and places it 2" from the beginning of the path.
| Sub Test() | 
|  Dim sText As Shape, sPath As Shape | 
|  Set sText = ActiveLayer.CreateArtisticText(0, 0, "Text On Path") | 
|  Set sPath = ActiveLayer.CreateCurveSegment(0.6, 4.5, 7.8, 8.5, 5.2, 62, 5.3, -96) | 
|  sText.Text.FitToPath sPath | 
|  sText.Effects(1).TextOnPath.Offset = 2 | 
| End Sub | 
|   |   |   | 
Copyright 2013 Corel Corporation. All rights reserved.