Note: This topic is for Document/Medical only.
The annotation button object (AnnButtonObject) is an image of a standard Windows button that can be activated. With the automated functions, the user clicks and drags to specify the rectangle in the current window. After that a dialog box allows the user to enter the text for the button.
Programmatically, the boundaries and location of the button object can be controlled using the following properties:
The AnnButtonObject 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 AnnButtonObject class inherits a number of text properties from the AnnTextObject class, that provide support for text alignment, margins, etc. These properties are listed below:
The name of the button object can be controlled using the following properties, inherited from the AnnObject class:
To transform an annotation button object, you can use the following properties:
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.
To programmatically set the characteristics of an AnnButtonObject class object, you can use the following properties:
For more information about the automated button annotation object, refer to Annotation Objects - Automated Features.