Pro中 应用图层的符号设置 工具使用起来特别费劲,构建按钮并将其插入到右键菜单中以简化步骤。
注意:并且这个操作不能被撤销和重做,事实上,使用Pro中自带的 应用图层的符号设置 工具执行这一操作也不能被撤销和重做。
DAML
<updateModule refID="esri_mapping">
<menus>
<updateMenu refID="esri_mapping_layerContextMenu">
<insertButton refID="ProAppModule_Button_ApplySymbology" placeWith="esri_mapping_selectedLayerSymbologyButton" />
</updateMenu>
<updateMenu refID="esri_mapping_unregisteredLayerContextMenu">
<insertButton refID="ProAppModule_Button_ApplySymbology" placeWith="esri_mapping_selectedLayerSymbologyButton" />
</updateMenu>
<updateMenu refID="esri_mapping_rasterLayerContextMenu">
<insertButton refID="ProAppModule_Button_ApplySymbology" placeWith="esri_mapping_selectedLayerSymbologyButton" />
</updateMenu>
</menus>
</updateModule>