Click or drag to resize

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

Creates a new instance of WpfTextAnnotation using the specified arguments.

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(
	string text,
	AnnotationFont font,
	AnnotationBrush fontBrush,
	AnnotationBrush fill,
	AnnotationPen outline,
	AnnotationBrush shadow,
	Point shadowOffset
)

Parameters

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