GoDiagram Win Reference
WrappingWidth Property

Gets or sets the width at which text is wrapped.
Syntax
'Declaration
 
<DescriptionAttribute("The width at which wrapping occurs, if Wrapping is true.")>
<DefaultValueAttribute()>
<CategoryAttribute("Appearance")>
Public Overridable Property WrappingWidth As Single
[DescriptionAttribute("The width at which wrapping occurs, if Wrapping is true.")]
[DefaultValueAttribute()]
[CategoryAttribute("Appearance")]
public virtual float WrappingWidth {get; set;}

Property Value

This distance is in document coordinates. This defaults to 150. The new value must be positive and at least as wide as any single character.
Remarks
Text is wrapped to the next line when the Wrapping property is true and the text gets wider than this value. If Multiline is true, a NewLine character sequence (Carriage Return/ LineFeed) forces a line break. If AutoResizes is true, setting this property will resize this object to fit the text; otherwise if AutoRescales is true, setting this property will change the font size so that the text fits the bounds.
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

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback