laptop and a wrench

Bug

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

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM031823
SubmittedFebruary 6, 2008
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found9.2
Program languageC#
StatusNon-Reproducible

Additional Information

No Public Explanation

Workaround

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>

Steps to Reproduce

Bug ID: NIM031823

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options