GoDiagram Web Reference
AutoResizes Property (GoText)

Gets or sets whether the bounds are recalculated when the text changes.
Syntax
'Declaration
 
<DefaultValueAttribute()>
<DescriptionAttribute("Whether the bounds are recalculated when the text changes.")>
<CategoryAttribute("Behavior")>
Public Overridable Property AutoResizes As Boolean
[DefaultValueAttribute()]
[DescriptionAttribute("Whether the bounds are recalculated when the text changes.")]
[CategoryAttribute("Behavior")]
public virtual bool AutoResizes {get; set;}

Property Value

This defaults to true.
Remarks
If both this property and AutoRescales are false, and you change either the Text string or the Bounds, you must be careful not to make either the text too big or the bounds too small. It is then wise to turn on the Clipping 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

GoText Class
GoText Members
Text Property
Clipping Property

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback