LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)
LEAD Technologies, Inc

Precision Property (AnnRulerObject)






Gets or sets the number of digits to the right of the decimal point when displaying the length of this AnnRulerObject object. .NET support Silverlight support
Syntax
public int Precision {get; set;}
'Declaration
 
Public Property Precision As Integer
'Usage
 
Dim instance As AnnRulerObject
Dim value As Integer
 
instance.Precision = value
 
value = instance.Precision
public int Precision {get; set;}
 get_Precision();
set_Precision(value);
public:
property int Precision {
   int get();
   void set (    int value);
}

Property Value

The number of digits to the right of the decimal point.
Remarks
If the ruler length is 135.683 and the precision is 2, the value 135.68 will be displayed. This property is used only if the ShowLength property is true.
For more information, refer to Using Rulers in WPF Annotation Objects.
Example

For XAML example, refer to AnnRulerObject.

For C#/VB examples, refer to AnnRulerObject.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnRulerObject Class
AnnRulerObject Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.