Class HorizontalRuler
This will render the horizontal ruler for the diagram control.
Implements
System.ICloneable
System.Runtime.Serialization.ISerializable
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public class HorizontalRuler : Ruler, IServiceReferenceHolder, IServiceReferenceProvider, IPropertyObserver, IPropertyContainer, ICloneable, ISerializable, IDisposable
Constructors
HorizontalRuler()
Declaration
public HorizontalRuler()
HorizontalRuler(HorizontalRuler)
Declaration
public HorizontalRuler(HorizontalRuler src)
Parameters
Type | Name | Description |
---|---|---|
HorizontalRuler | src |
HorizontalRuler(SerializationInfo, StreamingContext)
Declaration
public HorizontalRuler(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
Methods
Clone()
Creates a new object that is a copy of the current instance.
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
System.Object | A new object that is a copy of this instance. |
Overrides
Draw(Graphics, View)
Renders the ruler
Declaration
public override void Draw(Graphics gfx, View view)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | gfx | Graphics element gfx |
View | view | View class view |
Overrides
Draw(Graphics, View, RulerStyleInfo)
Declaration
public override void Draw(Graphics gfx, View view, RulerStyleInfo themeStyle)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | gfx | |
View | view | |
RulerStyleInfo | themeStyle |
Overrides
GetPropertyContainerName()
Declaration
protected override string GetPropertyContainerName()
Returns
Type |
---|
System.String |
Overrides
Implements
System.ICloneable
System.Runtime.Serialization.ISerializable
System.IDisposable