⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 netobjvc6.idl

📁 最短路径查询,用的是ESRI公司arcobject组件开发的,已经作成dll,用起来非常的方便
💻 IDL
字号:
/*
 Copyright 1995-2004 ESRI

 All rights reserved under the copyright laws of the United States.

 You may freely redistribute and use this sample code, with or without modification.

 Disclaimer: THE SAMPLE CODE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED 
 WARRANTIES, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 
 FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ESRI OR 
 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, 
 OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
 INTERRUPTION) SUSTAINED BY YOU OR A THIRD PARTY, HOWEVER CAUSED AND ON ANY 
 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ARISING IN ANY 
 WAY OUT OF THE USE OF THIS SAMPLE CODE, EVEN IF ADVISED OF THE POSSIBILITY OF 
 SUCH DAMAGE.

 For additional information contact: Environmental Systems Research Institute, Inc.

 Attn: Contracts Dept.

 380 New York Street

 Redlands, California, U.S.A. 92373 

 Email: contracts@esri.com
*/
// NetObjVC6.idl : IDL source for NetObjVC6.dll
//

// This file will be processed by the MIDL tool to
// produce the type library (NetObjVC6.tlb) and marshalling code.

import "oaidl.idl";
import "ocidl.idl";


[
	uuid(92745DC1-E115-11D4-9C5F-00C04F5AAA5B),
	version(1.0),
	helpstring("NetObjVC6 1.0 Type Library")
]
library NETOBJVC6Lib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");
    importlib("\Program Files\ArcGIS\com\esriSystem.olb");
    importlib("\Program Files\ArcGIS\com\esriSystemUI.olb");
    importlib("\Program Files\ArcGIS\com\esriGeometry.olb");
    importlib("\Program Files\ArcGIS\com\esriDisplay.olb");
	importlib("\Program Files\ArcGIS\com\esriGeoDatabase.olb");
	importlib("\Program Files\ArcGIS\com\esriCarto.olb");
	importlib("\Program Files\ArcGIS\com\esriNetworkAnalysis.olb");
	importlib("\Program Files\ArcGIS\com\esriDataSourcesGDB.olb");

    [
		object,
		uuid(92745DCD-E115-11D4-9C5F-00C04F5AAA5B),
	
		helpstring("IPathFinder Interface"),
		pointer_default(unique)
	]
	interface IPathFinder : IUnknown
	{
		[helpstring("method OpenFeatureDatasetNetwork")] HRESULT OpenFeatureDatasetNetwork([in] IFeatureDataset* inFeatureDataset);
		[helpstring("method OpenAccessNetwork")] HRESULT OpenAccessNetwork(BSTR AccessFileName, BSTR FeatureDatasetName);
		[propget, helpstring("property StopPoints")] HRESULT StopPoints([out, retval] IPointCollection* *pVal);
		[propputref, helpstring("property StopPoints")] HRESULT StopPoints([in] IPointCollection* newVal);
		[propget, helpstring("property Map")] HRESULT Map([out, retval] IMap* *pVal);
		[propputref, helpstring("property Map")] HRESULT Map([in] IMap* newVal);
		[propget, helpstring("property PathCost")] HRESULT PathCost([out, retval] double *pVal);
		[propget, helpstring("property PathPolyLine")] HRESULT PathPolyLine([out, retval] IPolyLine* *pVal);
		[helpstring("method SolvePath")] HRESULT SolvePath(BSTR WeightName);
	};


	[
		uuid(4CF2E1BE-E105-11D4-9C5F-00C04F5AAA5B),
		helpstring("PathFinder Class")
	]
	coclass PathFinder
	{
		[default] interface IPathFinder;
	};
};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -