| Visual Basic (Declaration) | |
|---|---|
<SerializableAttribute()> Public Class AnnRulerObject Inherits AnnLineObject Implements IAnnRulerObject | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
[SerializableAttribute()] public class AnnRulerObject : AnnLineObject, IAnnRulerObject | |
| C++/CLI | |
|---|---|
[SerializableAttribute()] public ref class AnnRulerObject : public AnnLineObject, IAnnRulerObject | |
| XAML Object Element Usage | |
|---|---|
<AnnRulerObject .../> | |
| XAML Object Element Usage | |
|---|---|
<AnnRulerObject .../> | |
This method creates a new ruler object that extends from 10.0, 4.5 to 20.56, 40.3 and is measured in inches.
| Visual Basic | Copy Code |
|---|---|
'''<!--This method creates a new ruler object that extends from 10.0, 4.5 to 20.56, 40.3 and is measured in inches.--> | |
| C# | Copy Code |
|---|---|
private void AnnRulerObject_AnnRulerObject(AnnContainer container) | |
| XAML | Copy Code |
|---|---|
<Window x:Class="WPFSamples.AnnRulerObject" Title="Leadtools.Windows.Annotations" Height="600" Width="800" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Leadtools_Windows_Annotations="clr-namespace:Leadtools.Windows.Annotations;assembly=Leadtools.Windows.Annotations"> | |
For more information about the ruler annotation object refer to AnnRulerObject for WPF. For more information about the automated ruler annotation object, refer to WPF Annotation Objects - Automated Features and WPF Automated Annotations - Ruler Tab.
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Media.Visual
System.Windows.UIElement
System.Windows.FrameworkElement
Leadtools.Windows.Annotations.AnnObjectBase
Leadtools.Windows.Annotations.AnnLineObject
Leadtools.Windows.Annotations.AnnRulerObject
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family


~153.gif)

~153.gif)
Copy Code