Click or drag to resize

TextData Constructor (RectangleF, String, AnnotationFont, AnnotationBrush, AnnotationBrush, AnnotationPen)

Creates a new instance of TextData specifying the text, font, font brush, fill and outline for the annotation.

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

Parameters

bounds
Type: System.DrawingRectangleF
The location and size of the annotation.
text
Type: SystemString
The text for this annotation.
font
Type: Atalasoft.AnnotateAnnotationFont
The font used for rendering the text.
fontBrush
Type: Atalasoft.AnnotateAnnotationBrush
The AnnotationBrush used for rendering the text.
fill
Type: Atalasoft.AnnotateAnnotationBrush
The AnnotationBrush used to fill the background of the annotation.
outline
Type: Atalasoft.AnnotateAnnotationPen
The AnnotationPen used to render the outline of the annotation.
See Also