LinetypeSetSegment Method |
Sets the length and type of the segment at index.
Namespace:
Rhino.DocObjects
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntaxpublic bool SetSegment(
int index,
double length,
bool isSolid
)
Public Function SetSegment (
index As Integer,
length As Double,
isSolid As Boolean
) As Boolean
Parameters
- index
- Type: SystemInt32
Zero based index of the segment. - length
- Type: SystemDouble
The length of the segment to be added in millimeters. - isSolid
- Type: SystemBoolean
If true, the length is interpreted as a line. If false,
then the length is interpreted as a space.
Return Value
Type:
Booleantrue if the operation was successful; otherwise false.
See Also