欢迎来到天天文库
浏览记录
ID:27800139
大小:146.00 KB
页数:14页
时间:2018-12-06
《使用制图表达创建简易的河流渐变效果》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、使用制图表达创建简易的河流渐变效果收藏usingSystem;usingSystem.Drawing;usingSystem.Runtime」nteropServices;usingESRI.ArcGIS.ADF.BaseClasses;usingESRI.ArcGIS.ADF.CATIDs;usingESRI.ArcGIS.Controls;usingESRI.ArcGIS.Framework;usingESRI.ArcGIS.ArcMapUl;usingESRI.ArcGIS.Carto;usingSystem.W
2、indows.Forms;usingESRI.ArcGIS.Geometry;usingESRI.ArcGIS.Geodatabase;usingESRI.ArcGIS.esriSystem;usingESRI.ArcGIS.Display;namespaceRiverTapered{IIIIIICommandthatworksinArcMap/Map/PageLayoutIII[Guid("38558blf-b52c-4901-b27d-539c40170237H)][Class
3、interface(ClasslnterfaceType.None)][Progld("RiverTapered.CmdRiverTapered")]publicsealedclassCmdRiverTapered:BaseCommand{#regionCOMRegistrationFunction(s)[ComRegisterFunction()][ComVisible(false)]staticvoidRegisterFunction(TyperegisterType){//RequiredforArcGISCom
4、porientCategoryRegistrarsupportArcGISCategoryRegistration(registerType);////TODO:AddanyCOMregistrationcodehere//}[ComUnregisterFunction()][ComVisible(false)]staticvoidUnregisterFunction(TyperegisterType)//RequiredforArcGISComporientCategoryRegistrarsupportArcGIS
5、CategoryUnregistration(registerType);////TODO:AddanyCOMunregistrationcodehere//}#regionArcGISComponentCategoryRegistrargeneratedcodeIIIIIIRequiredmethodforArcGISComporientCategoryregistration-IIIDonotmodifythecontentsofthismethodwiththecodeeditor.Ill6、ummary>privatestaticvoidArcGISCategoryRegistration(TyperegisterType){stringregKey=string.Format("HKEY_CLASSES_ROOT\CLSID\{{{0}}}"/registerType.GUID);MxCommands.Register^regKey);ControlsCommands.Register(regKey);}IIIIIIRequiredmethodforArcGISComponentC7、ategoryunregistration-IIIDonotmodifythecontentsofthismethodwiththecodeeditor.IllprivatestaticvoidArcGISCategoryUnregistration(TyperegisterType){stringregKey=string.Format(,,HKEY_CLASSES_ROOT\CLSID\{{{0}}},,/registerType.GUID);MxCommands.Unregister(re
6、ummary>privatestaticvoidArcGISCategoryRegistration(TyperegisterType){stringregKey=string.Format("HKEY_CLASSES_ROOT\CLSID\{{{0}}}"/registerType.GUID);MxCommands.Register^regKey);ControlsCommands.Register(regKey);}IIIIIIRequiredmethodforArcGISComponentC
7、ategoryunregistration-IIIDonotmodifythecontentsofthismethodwiththecodeeditor.Ill
8、gKey);ControlsCommands.Unregister(regKey);}#endregion#endregion#region变量常量privateIHookHelperm_hookHelper=null;privatelApplicationm_Application;privateIMxDocumentm_MxD
此文档下载收益归作者所有