LEADTOOLS Annotations for WPF and Silverlight Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.22
WPF AnnCrossProductObject
Note: This topic is for Document/Medical only.

The cross-product annotation object (AnnCrossProductObject) consists of two rulers intersecting at right angles. With the automated functions, the cross product is started on a mouse-down event and completed on a mouse-up event.

Programmatically, the points that define this crossproduct are contained in the FirstStartPoint, FirstEndPoint, SecondStartPoint, SecondEndPoint and IntersectionPoint properties. Each object has a transformation associated with it. This transform is accessed through the RenderTransform property. The TransformMode property indicates how the transform will be used to transform The WPF annotation object.

The AnnCrossProductObject 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 crossproduct object can be controlled using the following properties, inherited from the AnnObject class:

The boundaries and location of the crossproduct object can be controlled using the following properties:

Since the crossproduct object consists of two rulers, it has certain ruler characteristics pertaining to the length, tick marks and gauge. The following properties may be used to customize these ruler characteristics and determine what exactly is displayed when the crossproduct object is drawn:

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 AnnCrossProductObject class object:

For more information about the automated crossproduct annotation object, refer to WPF Annotation Objects - Automated Features.