Object Model Reference : Classes : S : Segment : Methods : Segment.GetAbsoluteOffset |
Function GetAbsoluteOffset(ParamOffset As Double) As Double
Member of Segment
The GetAbsoluteOffset method returns the distance of a specified point from the beginning of a segment, thus effectively converting the parametric offset to an absolute offset value.
The following VBA example displays the distance of a point, with a parametric offset 0.5, from the beginning of the first segment of the active curve.
Sub Test() |
MsgBox ActiveShape.Curve.Segments(1).GetAbsoluteOffset(0.5) |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.