Object Model Reference : Classes : S : SubPath : Methods : SubPath.BreakApartAt |
Function BreakApartAt([Offset As Double = 0.5], [OffsetType As cdrSegmentOffsetType = cdrRelativeSegmentOffset]) As Node
Member of SubPath
The BreakApartAt method divides a subpath in two at the specified offset from its beginning.
Parameter
|
Description
|
Offset
|
Specifies the offset distance, in document units. This parameter is optional, and its default value is 0.5.
|
OffsetType
|
Specifies the offset type, and returns cdrSegmentOffsetType. This parameter is optional, and its default value is cdrRelativeSegmentOffset (1).
|
The following VBA example breaks the subpath apart at 1.2" from its beginning.
Sub Test() |
ActiveShape.Curve.Subpaths(1).BreakApartAt 1.2, cdrAbsoluteSegmentOffset |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.