←Select platform

ShowLength Property

Summary

Gets or sets a value that indicates whether to display the length of this AnnRulerObject object.

Syntax

C#
VB
C++
public bool ShowLength { get; set; } 
  
Public Property ShowLength As Boolean 
public: 
property bool ShowLength { 
   bool get(); 
   void set (    bool ); 
} 

Property Value

true to show the length of this AnnRulerObject object; false otherwise.

Remarks

If this property is true, the MeasurementUnit property contains the unit of measure for this AnnRulerObject object; the UnitAbbreviation property contains the abbreviation for the unit of measure displayed with the length and the Precision property contains the number of digits to display to the right of the decimal point in the length. 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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Annotations Assembly