Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
WPF AnnButtonObject

Note: This topic is for Document/Medical only.

The WPF 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 AnnObjectBase class, that provide support for font, stroke and fill 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 AnnObjectBase class:

To transform a WPF 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 AnnObjectBase 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 WPF Annotation Objects - Automated Features.