Xceed Chart for WinForms v4.4 Documentation
DrawFlat Property
Example 


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > SurfaceSeriesBase Class : DrawFlat Property
Draws the surface in flat mode (contour chart). The PositionMode and PositionValue properties determine the vertical position of the surface.
Syntax
'Declaration
 
<DefaultValueAttribute()>

<CategoryAttribute("Contour Chart")>

<DescriptionAttribute("Draws the surface in flat mode (contour chart).")>

Public Property DrawFlat As Boolean
'Usage
 
Dim instance As SurfaceSeriesBase

Dim value As Boolean

 

instance.DrawFlat = value

 

value = instance.DrawFlat
[DefaultValue()]

[Category("Contour Chart")]

[Description("Draws the surface in flat mode (contour chart).")]

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

Reference

SurfaceSeriesBase Class
SurfaceSeriesBase Members