C#调用ArcEngine在三维图使用照相机

1. axSceneControl为三维地图容器AxSceneControl对象

               IEnvelope pEnvelope = axSceneControl.Scene.Extent;
                IPoint point = new PointClass();
                point.X =500.12;
                point.Y =400.25;
                IPoint pTaget = new PointClass();
                pTaget = point;
                pTaget.Z = 2000;
                IPoint pObserver = new PointClass();
                pObserver.X = point.X;
                pObserver.Y = point.Y;
                pObserver.Z = 10000;

                ICamera pCamera = axSceneControl.Camera;

                pCamera.Azimuth=90;//观察角度为90度
                pCamera.Target = pTaget;//目标点
                pCamera.Observer = pObserver;//观察点

你可能感兴趣的:(ArcEngine)