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


In This Topic
    ShapeRenderingMode Property (NSettings)
    In This Topic
    Controls the antialising (smoothing) feature of the control.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("General")>
    <System.ComponentModel.DescriptionAttribute("Controls the antialising (smoothing) feature of the control.")>
    <System.ComponentModel.DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    <System.Xml.Serialization.XmlAttributeAttribute()>
    Public Property ShapeRenderingMode As ShapeRenderingMode
    'Usage
     
    
    Dim instance As NSettings
    Dim value As ShapeRenderingMode
     
    instance.ShapeRenderingMode = value
     
    value = instance.ShapeRenderingMode
    [System.ComponentModel.Category("General")]
    [System.ComponentModel.Description("Controls the antialising (smoothing) feature of the control.")]
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    [System.Xml.Serialization.XmlAttribute()]
    public ShapeRenderingMode ShapeRenderingMode {get; set;}
    Remarks
    Nevron Chart for .NET can antialias the lines and points rendered by the control. This property is set to SmoothingMode.AntiAlias by default. You may wish to turn off the antialising to increase the performance.
    Example
    The following code disables the antialiasing:
    NChartControl.Settings.ShapeRenderingMode = ShapeRenderingMode.None
    NChartControl.Settings.ShapeRenderingMode = ShapeRenderingMode.None;
    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