The closed curve annotation object (AnnClosedCurveObject) is a sequence of points that are joined by cubic polynomials such that adjacent polynomials are continuous at the first and second derivatives. Unlike the curve annotation object, the first and last endpoints are also joined by a curve. The result is a smooth, continuous closed curve going through all the points.
With the automated functions, each curve is formed with a mouse click, and the object is completed on a double-click. You can change the points using the Points collection property.
Programmatically, the points that define this curve object are contained in the Points property, inherited from the AnnPolylineObject class. Each object has a transformation matrix associated with it. This matrix is accessed through the Transform property. The TransformObjectMode property indicates how the transform matrix will be used to transform the annotation object. The PhysicalTransform property is used to convert the logical coordinates of the points to physical coordinates. The matrix in this property is the result of multiplying the matrix in the Transform property with the matrix in the container's Transform property.
The AnnClosedCurveObject 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 curve object can be controlled using the following properties, inherited from the AnnObject class:
The boundaries and location of the curve object can be controlled using the following properties, also inherited from the AnnObject class:
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 AnnClosedCurveObject class object: