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


Gets or sets a value that indicates if legend text is automatically sized.


Legend text automatic fitting flag

Syntax

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

Return Value

True if legend text is automatically sized, False if it is not. Defaults to True.

Remarks

If auto-fitting is enabled then legend text will automatically be sized to use as much space within the legend as possible without being truncated.

If auto-fitting is false then the font size of legend text is dictated by the Font.Size property.

Note that along with auto-fitting the size of the entire legend may change if the Position property is set to Auto.

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.