You are here: Start » AVL.NET » Function Reference » Image » Image Drawing » AVL.DrawDimensionLine

AVL.DrawDimensionLine

Draws a dimension line on an image.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void DrawDimensionLine
(
	AvlNet.Image ioImage,
	AvlNet.Segment2D inSegment,
	AvlNet.CoordinateSystem2D? inSegmentAlignment,
	AvlNet.Pixel inColor,
	AvlNet.DrawingStyle inDrawingStyle,
	float inHeadSize,
	float inScale,
	AvlNet.MetricUnit inMetricUnit,
	int inFractionalDigitCount
)

Parameters

Name Type Range Default Description
ioImageAvlNet.Image
inSegmentAvlNet.Segment2D
inSegmentAlignmentAvlNet.CoordinateSystem2D?
inColorAvlNet.Pixel
inDrawingStyleAvlNet.DrawingStyle
inHeadSizefloat<0.0f, INF>5.0fDefault value: 5.0f.
inScalefloat<0.0f, INF>1.0fpx / mm. Default value: 1.0f.
inMetricUnitAvlNet.MetricUnitavl::MetricUnit::MillimetersDefault value: avl::MetricUnit::Millimeters.
inFractionalDigitCountint<0, 100>3How many characters the fractional part of the number should have. Default value: 3.

Function Overrides

See also