Linetype.GetSegment Method

LinetypeGetSegment Method

Gets the segment information at a index.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public void GetSegment(
	int index,
	out double length,
	out bool isSolid
)
Public Sub GetSegment ( 
	index As Integer,
	<OutAttribute> ByRef length As Double,
	<OutAttribute> ByRef isSolid As Boolean
)

Parameters

index
Type: SystemInt32
Zero based index of the segment.
length
Type: SystemDouble
The length of the segment in millimeters.
isSolid
Type: SystemBoolean
If the length is interpreted as a line, true is assigned during the call to this out parameter.

If the length is interpreted as a space, then false is assigned during the call to this out parameter.

Exceptions
ExceptionCondition
IndexOutOfRangeExceptionIf the index is unacceptable.
See Also