GoDiagram Win Reference
AutoRescales Property

Gets or sets whether this object automatically rescales its appearance when its size changes.
Syntax
'Declaration
 
<CategoryAttribute("Behavior")>
<DescriptionAttribute("Whether this object automatically rescales its appearance when its size changes.")>
<DefaultValueAttribute()>
Public Overridable Property AutoRescales As Boolean
[CategoryAttribute("Behavior")]
[DescriptionAttribute("Whether this object automatically rescales its appearance when its size changes.")]
[DefaultValueAttribute()]
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.
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

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback