Click or drag to resize

WpfRectangleAnnotation Constructor (Rect, AnnotationBrush, AnnotationPen)

Creates a new instance of WpfRectangleAnnotation specifying its bounding rectangle, fill and outline.

Namespace:  Atalasoft.Annotate.Wpf
Assembly:  Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public WpfRectangleAnnotation(
	Rect rectangle,
	AnnotationBrush fill,
	AnnotationPen outline
)

Parameters

rectangle
Type: System.WindowsRect
The bounding rectangle of the annotation.
fill
Type: Atalasoft.AnnotateAnnotationBrush
The brush used for filling the annotation. This can be null (Nothing in VB).
outline
Type: Atalasoft.AnnotateAnnotationPen
The pen used to render the annotation outline. This can be null (Nothing in VB).
See Also