Nevron .NET Vision
Nevron.GraphicsCore Namespace / NProjection Class / Elevation Property
Example


In This Topic
    Elevation Property
    In This Topic
    The elevation of the viewpoint in degrees.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("General")>
    <System.ComponentModel.DescriptionAttribute("The elevation of the viewpoint in degrees. ")>
    <System.ComponentModel.DefaultValueAttribute(0)>
    <System.Xml.Serialization.XmlAttributeAttribute()>
    Public Property Elevation As System.Single
    'Usage
     
    
    Dim instance As NProjection
    Dim value As System.Single
     
    instance.Elevation = value
     
    value = instance.Elevation
    [System.ComponentModel.Category("General")]
    [System.ComponentModel.Description("The elevation of the viewpoint in degrees. ")]
    [System.ComponentModel.DefaultValue(0)]
    [System.Xml.Serialization.XmlAttribute()]
    public System.float Elevation {get; set;}
    Remarks
    The default value is 0 degrees which ensures that the viewer looks at the scene from the top of the Z-axis. To look at the chart from the top you'll have to modify the elevation to 90 degrees. The rotation and elevation properties define the polar coordinates of camera relative to the chart center point.
    Example
    The following example modifies the elevation applied on the chart camera:
    Dim chartView As NView = (CType(NChartControl.Charts(0), NChart)).View 
    chartView.Elevation = 90
    NView chartView = ((NChart)NChartControl.Charts[0]).View;
    chartView.Elevation = 90;
    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