Note: This topic is for Document/Medical only.
The line annotation object (AnnLineObject) is a simple line. With the automated functions, the line is started on a mouse-down event and completed on a mouse-up event. Programmatically, the boundaries and location of the line object can be controlled using the following properties:
The AnnLineObject 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 line annotation object, refer to WPF Annotation Objects - Automated Features.