laptop and a wrench

漏洞

When exporting a map using IExport in .Net or Java Graticules, do not span the entire length of the map.

上次发布: August 25, 2014 No Product Found
漏洞 ID 编号 NIM031823
已提交February 6, 2008
上次修改时间June 5, 2024
适用范围No Product Found
找到的版本9.2
编程语言C#
状态Non-Reproducible

附加信息

No Public Explanation

解决办法

standalone apps need to activate views. See the Remarks sectino of the IActiveView Interface help: <a href="http://edndoc.esri.com/arcobjects/9.2/ComponentHelp/esriCarto/IActiveView.htm" target="_blank">http://edndoc.esri.com/arcobjects/9.2/ComponentHelp/esriCarto/IActiveView.htm</a>The user's code in the test folder has been modified to activate the view by adding the line: av.Activate(GetDesktopWindow());The code had additional problems that cause the export image to change size as export resolution changes. I have modified the code to prevent this problem and marked the changed sections accordingly. Best practice for any ArcObjects based export is to start from the dev kit's Export Active View sample: <a href="http://edndoc.esri.com/arcobjects/9.2/NET/ae109446-1798-41aa-b878-947425b360c9.htm" target="_blank">http://edndoc.esri.com/arcobjects/9.2/NET/ae109446-1798-41aa-b878-947425b360c9.htm</a>

重现步骤

漏洞 ID: NIM031823

软件:

  • No Product Found

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项