GoDiagram Web Reference
Reshapable Property (GoObject)

Gets or sets whether the user can reshape this object.
Syntax
'Declaration
 
<DescriptionAttribute("Whether users can reshape this resizable object.")>
<CategoryAttribute("Behavior")>
<DefaultValueAttribute()>
Public Overridable Property Reshapable As Boolean
[DescriptionAttribute("Whether users can reshape this resizable object.")]
[CategoryAttribute("Behavior")]
[DefaultValueAttribute()]
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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoObject Class
GoObject Members
CanReshape Method
CanReshapeObjects Method
Resizable Property

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback