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





Gets or sets the length of the gauge (the perpendicular lines at the ends of the ruler) for this AnnRulerObject object.

Syntax

Visual Basic (Declaration) 
Public Property GaugeLength As Double
Visual Basic (Usage)Copy Code
Dim instance As AnnRulerObject
Dim value As Double
 
instance.GaugeLength = value
 
value = instance.GaugeLength
C# 
public double GaugeLength {get; set;}
C++/CLI 
public:
property double GaugeLength {
   double get();
   void set (double value);
}
XAML Attributes Usage 

<object GaugeLength=double .../>

Dependencies Property Information 

Identifier field

GaugeLengthProperty

Metadata properties set to true

AffectsMeasure, AffectsRender

XAML Attributes Usage 

<object GaugeLength=double .../>

Dependencies Property Information 

Identifier field

GaugeLengthProperty

Metadata properties set to true

AffectsMeasure, AffectsRender

Return Value

A double value that specifies the length of the gauge (the perpendicular lines at the ends of the ruler) for this AnnRulerObject object.

Example

For XAML example, refer to AnnRulerObject.

For C#/VB examples, refer to AnnRulerObject.

Remarks

To display the gauge, set the ShowGauge property to true. This property is used only if the ShowGauge property is true.
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

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