Note: This topic is for
Document/Medical only. The rectangle annotation object (
AnnRectangleObject) is a simple rectangle. With the automated functions, the user clicks and drags to specify the rectangle in the current window. Programmatically, the boundaries and location of the rectangle object can be controlled using the following properties:
The
AnnRectangleObject class inherits a number of properties from the
AnnObject class that provide support for font, stroke and fill characteristics. These properties are listed below:
The name of the rectangle object can be controlled using the following properties, inherited from the
AnnObject class:
The following properties may be used in transforming a rectangle 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 following properties can also be used to programmatically set characteristics of an
AnnRectangleObject class object:
For more information about the automated rectangle annotation object, refer to WPF Annotation Objects - Automated Features.