←Select platform

Precision Property (AnnRulerObject)

Summary

Gets or sets the number of digits to the right of the decimal point when displaying the length of this AnnRulerObject object.

Syntax

C#
VB
C++
public int Precision {get; set;}
Public Property Precision As Integer
public: 
property int Precision { 
   int get(); 
   void set (    int ); 
} 

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Windows.Annotations Assembly
Click or drag to resize