Previous Document Next Document
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 the segment, thus effectively converting the parametric offset to an absolute offset value.

Parameters
Description
ParamOffset
Lets you specify the parametric offset value of a segment

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

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.