GoDigram for .NET Framework and .NET Core
Northwoods.Go.Draw Namespace / GoRuler Class / Orientation Property
In This Topic
    Orientation Property (GoRuler)
    In This Topic
    Gets or sets the vertical or horizontal display orientation of the ruler.
    Syntax
    [Description("The vertical or horizontal display orientation of the ruler.")]
    [Category("Ruler Appearance")]
    [DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public virtual Orientation Orientation {get; set;}

    Property Value

    The default value is Orientation.Horizontal: the ruler measures from left to right
    Remarks
    The Orientation property determines how the interval marks are drawn onto the ruler. If the Orientation is Orientation.Horizontal, then the marks are drawn vertically. If the Orientation is Orientation.Vertical, then the marks are drawn horizontally.
    See Also