Click or drag to resize

AnnotationPen Constructor (AnnotationBrush, Single)

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

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(
	AnnotationBrush brush,
	float width
)

Parameters

brush
Type: Atalasoft.AnnotateAnnotationBrush
An AnnotationBrush used for the pen object.
width
Type: SystemSingle
The width of the pen. This value must be greater than zero.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if the brush parameter is null.
ArgumentOutOfRangeExceptionThrown if the width parameter is not greater than zero.
See Also