Click or drag to resize

WpfTextAnnotation Constructor (Rect, String, AnnotationFont, AnnotationBrush, AnnotationBrush, AnnotationPen)

Creates a new instance of WpfTextAnnotation with the specified bounds and property values.

Namespace:  Atalasoft.Annotate.Wpf
Assembly:  Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public WpfTextAnnotation(
	Rect bounds,
	string text,
	AnnotationFont font,
	AnnotationBrush fontBrush,
	AnnotationBrush fill,
	AnnotationPen outline
)

Parameters

bounds
Type: System.WindowsRect
The bounding rectangle of the annotation.
text
Type: SystemString
The default text of the annotation.
font
Type: Atalasoft.AnnotateAnnotationFont
The font used for the text.
fontBrush
Type: Atalasoft.AnnotateAnnotationBrush
The brush used for the text.
fill
Type: Atalasoft.AnnotateAnnotationBrush
The brush used to fill the annotation. This can be null (Nothing in VB).
outline
Type: Atalasoft.AnnotateAnnotationPen
The pen used for the outline. This can be null (Nothing in VB).
See Also