Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ShowGauge Property
See Also 
Leadtools.Annotations Namespace > AnnRulerObject Class : ShowGauge Property



Gets or sets a value indicating whether the gauge (the perpendicular lines at the ends of the ruler) for this AnnRulerObject object is visible.

Syntax

Visual Basic (Declaration) 
Public Overridable Property ShowGauge As Boolean
Visual Basic (Usage)Copy Code
Dim instance As AnnRulerObject
Dim value As Boolean
 
instance.ShowGauge = value
 
value = instance.ShowGauge
C# 
public virtual bool ShowGauge {get; set;}
C++/CLI 
public:
virtual property bool ShowGauge {
   bool get();
   void set (bool value);
}

Return Value

true if the gauge (the perpendicular lines at the ends of the ruler) for this AnnRulerObject object is visible; false otherwise.

Example

For an example, refer to AnnRulerObject.

Remarks

To set the length of the gauge, set the GaugeLength property.
For more information, refer to Using Rulers in Annotation Objects.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features