Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Core.v4.4 Assembly / Xceed.Chart.Core Namespace / SurfaceSeriesBase Class / DrawFlat Property
Example


In This Topic
    DrawFlat Property
    In This Topic
    Draws the surface in flat mode (contour chart). The PositionMode and PositionValue properties determine the vertical position of the surface.
    Syntax
    'Declaration
     
    <CategoryAttribute("Contour Chart")>
    <DescriptionAttribute("Draws the surface in flat mode (contour chart).")>
    <DefaultValueAttribute(False)>
    Public Property DrawFlat As Boolean
    'Usage
     
    Dim instance As SurfaceSeriesBase
    Dim value As Boolean
     
    instance.DrawFlat = value
     
    value = instance.DrawFlat
    [Category("Contour Chart")]
    [Description("Draws the surface in flat mode (contour chart).")]
    [DefaultValue(false)]
    public bool DrawFlat {get; set;}
    Example
    The code below shows how to enable the flat mode:
    surface.DrawFlat = True
    surface.DrawFlat = true;
    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