GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoObject Class / Reshapable Property
In This Topic
    Reshapable Property (GoObject)
    In This Topic
    Gets or sets whether the user can reshape this object.
    Syntax
    [Category("Behavior")]
    [DefaultValue(true)]
    [Description("Whether users can reshape this resizable object.")]
    public virtual bool Reshapable {get; set;}

    Property Value

    This defaults to true. However, for some objects, such as GoImage this defaults to false, so that users cannot change the aspect ratio. You should normally call the CanReshape method instead of getting this property.
    Remarks
    A false value prevents the user from reshaping this object by the normal mechanisms. Even when this property value is true, this object might not be reshapable by the user because the layer or document disallows it, or because the view disallows it. Your code can always reshape objects programmatically by calling obj.Size = newSize or obj.Bounds = newRect or by making other changes to alter the shape of the object. For an object to be reshapable, its SelectionObject is really what should be reshapable--for a GoGroup, this is often one of its child objects.
    See Also