360神仙道为什么进不去(360sxd)_焦点短讯
发布时间:2023-07-03 12:45:03 来源:互联网


(资料图片仅供参考)

导读 来为大家解答以上的问题。360神仙道为什么进不去,360sxd这个很多人还不知道,现在让我们一起来看看吧!1、openFileDialog1.Filt...

1、openFileDialog1.Filter = "Scene文档(*.sxd)|*.sxd"; openFileDialog1.ShowDialog(); string filename = openFileDialog1.FileName; if (axSceneControl1.CheckSxFile(filename)) axSceneControl1.LoadSxFile(filename); else { IScene pScene = axSceneControl1.Scene; IMemoryBlobStream mbStream = new MemoryBlobStreamClass(); IObjectStream objectStream = new ObjectStreamClass(); mbStream.LoadFromFile(filename); IPersistStream pPersistStream = (ESRI.ArcGIS.esriSystem.IPersistStream)pScene; ***.Stream = mbStream; pPersistStream.Load(objectStream); }。

本文到此分享完毕,希望对大家有所帮助。

标签:

X 关闭

X 关闭