Click or drag to resize

DXFReaderNETControlShowRubberBandLinearDimension Method (Vector2, Vector2, Vector2, Double, NullableColor, RubberBandType)

Shows the distance specified by the StartPoint and EndPoint parameters as a rubber band linear dimension.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public void ShowRubberBandLinearDimension(
	Vector2 StartPoint,
	Vector2 EndPoint,
	Vector2 Position,
	double Rotation = 0,
	Color? Color = null,
	RubberBandType RubberBandType = RubberBandType.Dashed
)

Parameters

StartPoint
Type: DXFReaderNETVector2
First reference point of the dimension.
EndPoint
Type: DXFReaderNETVector2
Second reference point of the dimension.
Position
Type: DXFReaderNETVector2
Point position of the dimension line.
Rotation (Optional)
Type: SystemDouble
Rotation in degrees of the dimension line.
Color (Optional)
Type: SystemNullableColor
The color of the rubber band if solid. If omitted the CurrentColor will be used.
RubberBandType (Optional)
Type: DXFReaderNETRubberBandType
The type of rubber band: solid or dashed.
See Also