AnnSetGaugeLength method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Syntax short AnnSetGaugeLength(OLE_HANDLE hObject, float fGaugeLength, BOOL bSelected);

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. For more information, refer to Annotation Automation Object and Ruler Annotation Object.

fGaugeLength 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, AnnSetBitmapDpiX method, AnnGetBitmapDpiX method, AnnGetBitmapDpiY method, AnnSetBitmapDpiY method, AnnSetUnit method, AnnGetDistance method, AnnGetGaugeLength method

Topics:  Annotations (Document/Medical only): Object Manipulation