共 9 篇文章 |
|
阅76 转0 评0 公众公开 21-05-23 16:28 |
阅144 转3 评0 公众公开 21-05-11 19:57 |
//打开ShapeFile文件ShapefileWorkspaceFactory fileWorkspaceFactory = new ShapefileWorkspaceFactoryClass();IFeatureWorkspace featureWorkspce = fileWorkspaceFactory.OpenFromFile(strWorkspacePath, 0) as IFeatureWorkspace;IFeatureLayer featureLayer = new FeatureLayerClass();IFeatureClass featureClass = featureWorkspce.Open... 阅50 转0 评0 公众公开 21-05-11 19:56 |
阅62 转1 评0 公众公开 21-04-06 19:30 |
跟个人数据库采用属性连接的方式一样,先定义一个属性对象,然后设置属性参数,接着定义一个工作空间并用SdeWorkspaceFactoryClass()实例化它,接着加在加载图层,至于加载图层的代码,与加载个人数据库中图层的方法一样,其实不只加载这两种数据类型,加载其他类型的数据时也是采用相同的方法加载图层,只是工作空间采用不同的实例而已,下边为... 阅1 转自水真香 公众公开 21-03-31 01:19 |
How To: Capture map coordinates with a mouse click using ArcObjects SDK for the Microsoft .NET Frame Note:To change the name of the toolbar to be displayed in ArcMap, edit the Public Overrides ReadOnly Property Caption() method as follows:Public Overrides ReadOnly Property Caption() As String Get ''''''''TODO: Replace bar caption Return "<Toolbar_Name>" End GetEnd Prope... 阅24 转0 评0 公众公开 21-03-15 08:31 |