AnnGetDistance2 method (Annotation Control)
Builder Syntax |
|
Delphi Syntax |
|
Overview |
Refer to Implementing Annotations. |
Remarks
(Document/Medical only) Gets the length of each ruler that makes up an object, and the total length of all rulers.
This method works only for the following objects:
ANNOBJECT_RULER
ANNOBJECT_PROTRACTOR
ANNOBJECT_CROSSPRODUCT
ANNOBJECT_POLYRULER
The ANNOBJECT_POLYRULER object is composed of a variable number of rulers. The other ruler objects are composed of a predetermined number of rulers, as follows:
ANNOBJECT_RULER always has one distance.
ANNOBJECT_PROTRACTOR and ANNOBJECT_CROSSPRODUCT always have two distances.
ANNOBJECT_POLYRULER can have from one to any number of distances.
This method will update the properties listed below with information about the ruler(s) contained in the specified object:
See Also
Elements: |
AnnTotalDistance property, AnnTotalRulerUnit property, AnnTotalSmartUnit property, AnnDistance property, AnnRulerUnit property, AnnSmartUnit property, AnnDistanceCount property |
Topics: |
|
|
|
|