ArcGIS Pro二次开发-界面设置
<ArcGIS defaultAssembly="ylsetpro.dll" defaultNamespace="ylsetpro" xmlns="http://schemas.esri.com/DADF/Registry" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.esri.com/DADF/Registry file:///C:/Program%20Files/ArcGIS/Pro/bin/ArcGIS.Desktop.Framework.xsd"> <AddInInfo id="{12ad8b28-e078-43e7-8fa5-d736944e4a65}" version="1.0" desktopVersion="2.5.22081"> <Name>ylsetpro</Name> <Description>ylsetpro description</Description> <Image>Images\AddinDesktop32.png</Image> <Author>DELL</Author> <Company>Acme</Company> <Date>2020/3/12 14:03:57, 2020</Date> <Subject>Framework</Subject> <!-- Note subject can be one or more of these topics: Content, Framework, Editing, Geodatabase, Geometry, Geoprocessing, Layouts, Map Authoring, Map Exploration --> </AddInInfo> <modules> <insertModule id="ylsetpro_Module" className="Module1" autoLoad="false" caption="Module1"> <!-- uncomment to have the control hosted on a separate tab--> <tabs> <!--<tab id="ylsetpro_Tab1" caption="New Tab"> <group refID="ylsetpro_Group1"/> </tab>--> </tabs> <groups> <!-- comment this out if you have no controls on the Addin tab to avoid an empty group--> <group id="ylsetpro_Group1" keytip="图层操作" caption="图层操作" appearsOnAddInTab="true"> <!-- host controls within groups --> <button refID="ylsetpro_BntCloseLayer" size="large" /> <button refID="ylsetpro_BtnOpenAllLayer" size="large" /> <button refID="ylsetpro_btnDelAllLayer" size="large" /> <button refID="ylsetpro_btnAddData" size="large" /> </group> </groups> <controls> <!-- add your controls here --> <button id="ylsetpro_BntCloseLayer" caption="关闭所有图层" keytip="关闭所有图层" className="BntCloseLayer" loadOnClick="true" smallImage="Images/Close16.png" largeImage="Images/Close32.png"> <tooltip heading="关闭当前所有图层"> 关闭所有图层<disabledText /> </tooltip> </button> <button id="ylsetpro_btnDelAllLayer" caption="删除所有图层" keytip="删除所有图层" className="btnDelAllLayer" loadOnClick="true" smallImage="Images/Clear16.png" largeImage="Images/Clear32.png"> <tooltip heading="删除当前所有图层"> 删除所有图层<disabledText /> </tooltip> </button> <button id="ylsetpro_BtnOpenAllLayer" caption="打开所有图层" keytip="打开所有图层" className="BtnOpenAllLayer" loadOnClick="true" smallImage="Images/Open16.png" largeImage="Images/Open32.png"> <tooltip heading="打开当前所有图层"> 打开所有图层<disabledText /> </tooltip> </button> <button id="ylsetpro_btnAddData" caption="添加数据" keytip="添加数据" className="btnAddData" loadOnClick="true" smallImage="Images/DataAdd16.png" largeImage="Images/DataAdd32.png"> <tooltip heading="添加数据"> 添加数据<disabledText /> </tooltip> </button> </controls> </insertModule> </modules> </ArcGIS>
图片的格式:AddInContent
来自:https://max.book118.com/html/2019/0917/6052135201002104.shtm