LEADTOOLS Annotations Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.22
AnnPolygonObject
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 AnnDrawable class that provide support for font, pen and brush characteristics. These properties are listed below:

The name of the polygon object can be controlled using the following properties, inherited from the AnnObject class:

The following properties may be used in transforming a polygon annotation object:

An object can be part of a group annotation object or part of a container object. It cannot be part of both a group and a container at the same time. The Container property and the Group property, both inherited from the AnnObject class, contain information on the container or the group to which the object belongs.

The following properties can also be used to programmatically set characteristics of an AnnPolygonObject class object:

For more information about the automated polygon annotation object, refer to Annotation Objects - Automated Features.