GoDigram for .NET Framework and .NET Core
Northwoods.Go.Draw Namespace / GoRuler Class / WorldScale Property
In This Topic
    WorldScale Property
    In This Topic
    Gets or sets the measurement scale ratio for the ruler.
    Syntax
    [Description("The ratio of displayed units to normally scaled units.")]
    [Category("Ruler Display")]
    [DefaultValue(1)]
    public virtual float WorldScale {get; set;}

    Property Value

    The default value is 1.0f; the value must be greater than zero.
    Remarks

    The WorldScale property is useful for displaying measurements on a variety of different scales. For example, when the WorldScale is set to a value of 0.5, then every Unit displayed on the ruler is half size. When the WorldScale is set to a value of 2.0, then every Unit displayed appears twice as large as normal.

    See Also