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





Gets or sets a value that represents the unit of measure for this AnnRulerObject object.

Syntax

Visual Basic (Declaration) 
Public Property MeasurementUnit As AnnUnit
Visual Basic (Usage)Copy Code
Dim instance As AnnRulerObject
Dim value As AnnUnit
 
instance.MeasurementUnit = value
 
value = instance.MeasurementUnit
C# 
public AnnUnit MeasurementUnit {get; set;}
C++/CLI 
public:
property AnnUnit MeasurementUnit {
   AnnUnit get();
   void set (AnnUnit value);
}
XAML Syntax 
For XAML information, see the Leadtools.Windows.Annotations.AnnUnit type.

Dependencies Property Information 

Identifier field

MeasurementUnitProperty

Metadata properties set to true

AffectsMeasure, AffectsRender

XAML Syntax 
For XAML information, see the Leadtools.Windows.Annotations.AnnUnit type.

Dependencies Property Information 

Identifier field

MeasurementUnitProperty

Metadata properties set to true

AffectsMeasure, AffectsRender

Return Value

An AnnUnit value that specifies the unit of measure for this AnnRulerObject object.

Example

For XAML example, refer to AnnRulerObject.

For C#/VB examples, refer to AnnRulerObject.

Remarks

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

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