VAGSuite.MapViewerEx.SetSurfaceGraphViewEx C# (CSharp) Method

SetSurfaceGraphViewEx() public method

public SetSurfaceGraphViewEx ( float depthx, float depthy, float zoom, float rotation, float elevation ) : void
depthx float
depthy float
zoom float
rotation float
elevation float
return void
        public void SetSurfaceGraphViewEx(float depthx, float depthy, float zoom, float rotation, float elevation)
        {
            try
            {
                nChartControl1.Charts[0].Projection.XDepth = depthx;
                nChartControl1.Charts[0].Projection.YDepth = depthy;
                nChartControl1.Charts[0].Projection.Zoom = zoom;
                nChartControl1.Charts[0].Projection.Rotation = rotation;
                nChartControl1.Charts[0].Projection.Elevation = elevation;
                nChartControl1.Refresh();
            }
            catch (Exception E)
            {
                Console.WriteLine("SetSurfaceGraphViewEx:" + E.Message);
            }
        }
MapViewerEx