The protractor annotation object (AnnProtractorObject) consists of two simple lines joined at a vertex to create an angle. With the automated functions, the first line of the protractor is started on a mouse-down event and completed on a second mouse-down event. The second line is completed on a third mouse-down event.
In the automation mode, it is possible to calibrate a ruler so it displays a specific length. For more information, refer to Calibrating Ruler Annotation Objects.
Programmatically, the boundaries and location of the protractor object can be controlled using the following properties:
The AnnProtractorObject 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 AnnProtractorObject class implements the IAnnProtractorObject interface. This interface provides a number of protractor properties that control certain aspects of the protractors themselves and indicate which characteristics will be displayed on the protractor. These properties are listed below:
The AnnProtractorObject class implements the IAnnRulerObject interface. This interface provides a number of ruler properties that control certain aspects of the rulers themselves and indicate which characteristics will be displayed on the ruler. These properties are listed below:
- GaugeLength
- MeasurementUnit
- Precision
- RulerImplemented
- ShowGauge
- ShowLength
- ShowTickMarks
- TickMarksLength
- UnitAbbreviation
The name of the protractor object can be controlled using the following properties, inherited from the AnnObject class:
The following properties may be used in transforming a protractor 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 AnnProtractorObject class object:
- HitTestInterior
- Hyperlink
- IsLocked
- Password
- SerializePassword
- TextColor
- UnitConverter
- UserData
- Visible
For more information about the automated protractor clip annotation object, refer to Annotation Objects - Automated Features and Automated Annotations - Protractor Tab.