Dundas Chart for Windows Forms
TextWrapThreshold Property
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > Legend Class : TextWrapThreshold Property


Gets or sets the number of characters in the legend text after which text will be wrapped.
Defines preferred number of characters in the legend text after which it will be wrapped.

Syntax

Visual Basic (Declaration)  
Public Property TextWrapThreshold As Integer
Visual Basic (Usage) Copy Code
Dim instance As Legend
Dim value As Integer
 
instance.TextWrapThreshold = value
 
value = instance.TextWrapThreshold
C#  
public int TextWrapThreshold {get; set;}

Return Value

An integer value that represents the number of characters that can be placed in the legend sequentially before the text is wrapped. Defaults to 25.

Remarks

When legend text exceeds the value defined by this property then text will be automatically wrapped on the next whitespace. Text will not be wrapped if there are no whitespace characters in the text.

Set this property to zero to disable the feature.


When legend text exceeds the value defined in the TextWrapThreshold property it will be automatically wrapped on the next whitespace. Text will not be wrapped if there is no whitespace characters in the text. Set this property to zero to disable the feature.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.