Nevron .NET Vision
Nevron.Chart Namespace / NSettings Class / TextRenderingHint Property
Example


In This Topic
    TextRenderingHint Property (NSettings)
    In This Topic
    Controls the text rendering hint (antialising) applied to text in the control.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("General")>
    <System.ComponentModel.DescriptionAttribute("Controls the text rendering hint (antialising) applied to text in the control.")>
    <System.ComponentModel.DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    <System.Xml.Serialization.XmlAttributeAttribute()>
    Public Property TextRenderingHint As System.Drawing.Text.TextRenderingHint
    'Usage
     
    
    Dim instance As NSettings
    Dim value As System.Drawing.Text.TextRenderingHint
     
    instance.TextRenderingHint = value
     
    value = instance.TextRenderingHint
    [System.ComponentModel.Category("General")]
    [System.ComponentModel.Description("Controls the text rendering hint (antialising) applied to text in the control.")]
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    [System.Xml.Serialization.XmlAttribute()]
    public System.Drawing.Text.TextRenderingHint TextRenderingHint {get; set;}
    Remarks
    This property is set to TextRenderingHint.SystemDefault by default.
    Example
    The following sets higher antialiasing for the control texts.
    NChartControl.Settings.TextRenderingHint = TextRenderingHint.AntiAlias
    NChartControl.Settings.SmoothingMode = TextRenderingHint.AntiAlias;
    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