Leadtools.Windows.Annotations Requires Document/Medical license. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ShowGauge Property
See Also 
Leadtools.Windows.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 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 bool ShowGauge {get; set;}
C++/CLI 
public:
property bool ShowGauge {
   bool get();
   void set (bool value);
}
XAML Attributes Usage 

<object ShowGauge=bool .../>

Dependencies Property Information 

Identifier field

ShowGaugeProperty

Metadata properties set to true

AffectsMeasure, AffectsRender

XAML Attributes Usage 

<object ShowGauge=bool .../>

Dependencies Property Information 

Identifier field

ShowGaugeProperty

Metadata properties set to true

AffectsMeasure, AffectsRender

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 XAML example, refer to AnnRulerObject.

For C#/VB examples, refer to AnnRulerObject.

Remarks

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

Requirements

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

See Also

ShowGauge requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.