Click or drag to resize

WpfRectangleAnnotation Constructor (Rect, AnnotationBrush, AnnotationPen, AnnotationBrush, Point)

Creates a new instance of WpfRectangleAnnotation specifying its properties.

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,
	AnnotationBrush shadow,
	Point shadowOffset
)

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).
shadow
Type: Atalasoft.AnnotateAnnotationBrush
The brush used for the annotation shadow. This can be null (Nothing in VB).
shadowOffset
Type: System.WindowsPoint
The offset of the shadow.
See Also