AnnNameBoundingRectTop property (Annotation Control)
Builder Syntax |
int AnnNameBoundingRectTop [L_HANDLE hObject] |
Delphi Syntax |
AnnNameBoundingRectTop [hObject: L_HANDLE]: Integer |
Overview |
Refer to Implementing Annotations. |
Remarks
(Read only) (Document/Medical only) Gets the top boundary of the bounding rectangle of the name of the specified annotation object. This is the rectangle in which the object name is displayed.
The bounding rectangle is different from the defining rectangle as follows:
The defining rectangle intersects the outermost points that define the object. If a line is more than one pixel wide, its defining points are in the middle of the line. Refer to the AnnRectXXX properties.
The bounding rectangle accounts for line width and is used as the rectangle to be invalidated when displaying an object. If the line width is an even number, the bounding rectangle is enlarged slightly to allow for variations in how the center of the line is defined on different systems.
Half the width of an object's outer line is outside its defining rectangle, as shown in the following diagram:
See Also