Click or drag to resize

AnnotationPen Constructor (Color, Single)

Creates a new instance of AnnotationPen specifying the color and width of the pen.

Namespace:  Atalasoft.Annotate
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public AnnotationPen(
	Color color,
	float width
)

Parameters

color
Type: System.DrawingColor
The color for the pen.
width
Type: SystemSingle
The width of the pen. This value must be greater than zero.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown if the width parameter is not greater than zero.
See Also