GoDiagram Web Reference
Resizable Property (GoObject)

Gets or sets whether the user can resize this object.
Syntax
'Declaration
 
<DefaultValueAttribute()>
<DescriptionAttribute("Whether users can resize this object.")>
<CategoryAttribute("Behavior")>
Public Overridable Property Resizable As Boolean
[DefaultValueAttribute()]
[DescriptionAttribute("Whether users can resize this object.")]
[CategoryAttribute("Behavior")]
public virtual bool Resizable {get; set;}

Property Value

This defaults to true. However, for some objects, such as GoText and GoPort, this defaults to false. You should normally call the CanResize method instead of getting this property.
Remarks
A false value prevents the user from resizing this object by the normal mechanisms. Even when this property value is true, this object might not be resizable by the user because the layer or document disallows it, or because the view disallows it. Your code can always resize objects programmatically by calling obj.Size = newSize or obj.Bounds = newRect. For an object to be resizable, its SelectionObject is really what should be resizable.
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
CanResize Method
CanResizeObjects Method
DoResize Method
Reshapable Property

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback