Nevron .NET Vision
Nevron.Chart Namespace / NSurfaceSeriesBase Class / PositionValue Property
Example


In This Topic
    PositionValue Property
    In This Topic
    The PositionValue property specifies the value for the vertical position of the surface when the DrawFlat property is set to True and the PositionMode is SurfacePositionMode.CustomValue.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("Contour Chart")>
    <System.ComponentModel.DescriptionAttribute("Specifies the value for the vertical position of the surface. Used in flat mode only.")>
    <System.ComponentModel.DefaultValueAttribute(0)>
    Public Property PositionValue As System.Double
    'Usage
     
    
    Dim instance As NSurfaceSeriesBase
    Dim value As System.Double
     
    instance.PositionValue = value
     
    value = instance.PositionValue
    [System.ComponentModel.Category("Contour Chart")]
    [System.ComponentModel.Description("Specifies the value for the vertical position of the surface. Used in flat mode only.")]
    [System.ComponentModel.DefaultValue(0)]
    public System.double PositionValue {get; set;}
    Example
    The code below enables the custom value positioning and specifies the value where the flat surface will be placed.
    surface.PositionMode = SurfacePositionMode.CustomValue
    surface.PositionValue = 1.2
    surface.PositionMode = SurfacePositionMode.CustomValue;
    surface.PositionValue = 1.2;
    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