AnnSetGaugeLength method (Annotation Control)

Delphi example

C++ Builder example

 

Builder Syntax

int AnnSetGaugeLength (HANNOBJECT hObject, double dGaugeLength, bool bSelected);

Delphi Syntax

Function AnnSetGaugeLength (hObject: HANNOBJECT; dGaugeLength: L_DOUBLE; bSelected: Boolean ): L_INT;

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Sets the length of the gauge (the perpendicular lines at the ends of the Ruler object).

The gauge length property applies only to Automation and Ruler objects. Refer to AnnAutomation property.

Length is expressed in pixels, not in points. The length is for the whole line, not just from the end point of the ruler to the end point of the gauge - it is from one end of the gauge to the other end of the gauge.

See Also

Elements

AnnGetUnit method, AnnSetUnit method, AnnGetDistance method, AnnGetGaugeLength method, AnnTicMarkLength property

Topics

Annotations (Document/Medical only): Object Manipulation

 

Using Rulers in Annotation Objects

 

New Annotation Features of Version 14.5