Note: This topic is for
Document/Medical only.
The text annotation object
(AnnTextObject) is a
rectangle containing a character string with font properties. The text will wrap on
word breaks within the object's specified rectangle. With the automated functions,
the user clicks and drags to specify the rectangle in the current window. A dialog
box then lets the user enter the text. Programmatically, the boundaries and
location of the text object can be controlled using the following properties:
The
AnnTextObject class
inherits a number of properties from the
AnnObjectBase class
that provide support for font, stroke and fill characteristics. These properties
are listed below:
Fill Stroke StrokeDashArray StrokeDashCap StrokeDashOffset StrokeEndLineCap StrokeLineJoin StrokeMiterLimit StrokeStartLineCap StrokeThickness FontDecorations FontFamily FontSize FontStretch FontStyle FontWeight SupportsFill SupportsFont SupportsStroke
Header HeaderBackground HeaderDecorations HeaderFontFamily HeaderFontSize HeaderFontStretch HeaderFontStyle HeaderFontWeight HeaderForeground HeaderOffset IsHeaderRestricted IsHeaderVisible
For more information about the automated text annotation object, refer to WPF Annotation Objects - Automated Features.