GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoView Class / DocScale Property
In This Topic
    DocScale Property (GoView)
    In This Topic
    Gets or sets the scale at which this view displays its document.
    Syntax
    [Category("Appearance")]
    [DefaultValue(1)]
    [Description("The scale at which this view displays its document.")]
    public virtual float DocScale {get; set;}

    Property Value

    A value of 1.0f specifies that one unit in document coordinates corresponds to one pixel in view coordinates. Values smaller than one make objects appear smaller on the screen. Larger values make it appear that you have zoomed into the diagram.

    The float value must be greater than zero. The default value is 1.0f.

    Remarks
    When setting this property, it first limits the value by calling LimitDocScale. A different value is used when printing, PrintScale.
    See Also