GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoObject Class / AutoRescales Property
In This Topic
    AutoRescales Property
    In This Topic
    Gets or sets whether this object automatically rescales its appearance when its size changes.
    Syntax
    [Category("Behavior")]
    [DefaultValue(true)]
    [Description("Whether this object automatically rescales its appearance when its size changes.")]
    public virtual bool AutoRescales {get; set;}

    Property Value

    This defaults to true.
    Remarks
    For most objects, particularly shapes, it is natural that when the size changes, the object adjusts its appearance appropriately smaller or larger, and accomodating any change in aspect ratio. Most classes ignore this property. However, there are certain circumstances where users do not expect this behavior, for example for GoText instances that are part of a resizable group. Typically you will set this property false for text objects added to groups. GoGroup.RescaleChildren heeds this property.
    See Also