Gets or sets a value that indicates if legend text is automatically sized.
Legend text automatic fitting flag
Visual Basic (Declaration) | |
---|---|
Public Property AutoFitText As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public bool AutoFitText {get; set;} |
Return Value
True if legend text is automatically sized, False if it is not. Defaults to True.
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.
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