Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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;}
Managed Extensions for C++ 
public: __property virtual bool get_ShowGauge();
public: __property virtual void set_ShowGauge( 
   bool value
);
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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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