laptop and a wrench

Erro

ControlsSaveAsDocCommand saves the map document with PageLayout as the active view, even though the MapBean is set as a buddy control to the ToolbarBean in an Engine application.

Última Publicação: August 25, 2014 No Product Found
Número de ID do Erro NIM013078
EnviadoNovember 15, 2007
Última ModificaçãoJune 5, 2024
Aplica-se àNo Product Found
Versão encontrada9.2
Idioma do programaJava
StatusWill Not Be Addressed

Informações Adicionais

We apologize that we were unable to address this issue within the current product support cycle. If the issue continues to affect your work in a supported release, please contact Technical Support.

Solução Provisória

One workaround is to use MapDocument class directly to save a new MXD instead of using ControlsSaveAsDocCommand. We can create a separate swing button and execute the following code for saving a new MXD from the map in the MapBean.com.esri.arcgis.carto.MapDocument mapDoc = new com.esri.arcgis.carto.MapDocument();mapDoc.esri_new("C:/temp/test.mxd");mapDoc.replaceContents(mapBean.getAsIMxdContents());mapDoc.setActiveView((IActiveView)mapBean.getMap());mapDoc.save(true,true);

Etapas para Reproduzir

ID do Erro: NIM013078

Software:

  • No Product Found

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download