Note: This topic is for
Document/Medical only.
The polygon annotation object
(AnnPolygonObject)
is an array of points that define the vertices of a polygon. With the automated
functions, each line segment is formed with a mouse click, and the object is
completed on a double-click which closes the polygon with a line from the last
point to the first point. You can change the points using the
Points
property. Programmatically, the boundaries and location of the button object can be
controlled using the following properties:
The
AnnPolygonObject
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 polygon annotation object, refer to WPF Annotation Objects - Automated Features.