LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)

Precision Property (AnnRulerObject)

Show in webframe





Gets or sets the number of digits to the right of the decimal point when displaying the length of this AnnRulerObject object.
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:
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

See Also

Reference

AnnRulerObject Class
AnnRulerObject Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.