Tag Info

New answers tagged

0

I can see no event listener for TopologyLayer but you can trap when a change in visibility has occurred by listening to the map refresh view event. Below is the VBA code that will achieve this. You must first run setup() so mapEve object is set and the Topology layer is the top layer. Dim WithEvents mapEve As Map Public Sub setup() ' Run this ...


1

I did not per se figure it out becuase i don't really understand what is going on here but I was trying different things until it worked. I am not sure whether it is suppose to work or whether this crudity can even be called a workaround but here it goes: Keep both "ESRI.ArcGIS.AddIns.targets" and "ESRI.ArcGIS.AddIns.11.targets" in the "C:\Program Files ...


0

Edit 3/25/15 per discussion below: Take out the PageExtent function, and get the tagRECT bounds from the frame to export, the output resolution, and the screen resolution (bound * (300/96)). This should work to export your page layout: Imports ESRI.ArcGIS.Carto Imports ESRI.ArcGIS.esriSystem Imports ESRI.ArcGIS.Geometry Imports ESRI.ArcGIS.Output Imports ...


0

The snippet I mentioned in my comment, http://help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/index.html#/d/000100000026000000.htm, is pulling in the ExportFormat value through the function argument. When the function is called from a different method it is providing that value (e.g. "PDF" or "JPG"), which you are not using the function arguments. ...



Top 50 recent answers are included