Problem Exporting PDF Layout from AcrMap 10 using vb.net...
Hi, I have some vb.net code which worked in ArcMap 9.3.1 but fails in 10.2, and was hoping someone may be able to shed some light on the matter. I'm using code which started its life as part of the DS...
View ArticleOverlay image on map with latitude/longitude information
All, I think what I am asking should be fairly simple. I have a north up image. I know the four corner lat/lon information for said image. I would like to overlay it onto a map in ArcMap. What is the...
View ArticleSetToZoomToExtents in globe
Hi,guys I‘m new in GIS,and i'm developing a desktop app with a location function. here is my code: Code:             DateTime startTime = DateTime.Now;       IDisplay3D pDisplay =...
View ArticleExport Feature Class takes longer to complete
Hi, Can someone help me on this? The ExportFeatureClass() method takes longer (about 1 minute to 3 minutes). Approximate number of records range from 1000+. Here is the code snippet 1) My Data is in...
View ArticleProgrammatically Remove/Close catalog and search window from Arcmap
Dear friends is there any way to close catalog and search window Programmatically from the Arcmap.PLease guide me for this requirement Thanks and regards Deepak Attached Thumbnails Â
View ArticleDefault layer colors
When you load a layer - say a shapefile - into a map, a default color is set for the map. This color will change if you subsequently unload and reload the layer. Is there any logic that determines what...
View ArticleEnd of Edge of a line
Hi, I have a point (IPoint). How do I determine if it is intersecting a line at the lines edge, or at the end of the line?? Thanks,
View ArticleDissolve using In Memory Feature Class and In Memory Output
Hi Everyone, For some reasons the following code is failing to run the dissolve tool on a feature class that I store in a in-memory workspace. I have checked that the inFClass is valid by querying the...
View ArticleConnecting to ArcSDE 10.2.1 using ArcObjects
Hello all, I developed a standalone application using Arcobjects 10.1 . I used property set to open the workspace as shown below IPropertySet propertySet = new PropertySetClass();...
View ArticleRetrieving the outermost pixel border of a raster image
Hi, I want to read all the outer pixel values of an image - i.e. one pixel in from each of the edges and I'm not interested in any of the pixel values within this one-pixel border. I've tried too...
View ArticleCouldn`t load a data from a Geodatabase using the AddDataCommand in vb.net From?
Greetings, I`m trying to develop a form in vb.net 2010 that contains ArcEngine MapControl, TOCControl, & ToolbarControl in order to load a data in the map control and view it using the commands in...
View ArticleHow to find the center of a complex shaped feature.
I have a feature with the shape as shown below. Attachment 32089 I want to draw an image at the center of this feature. I was using a very simple algorithm to determine the center of the feature....
View ArticleTo Display the Attribute Table and Properties of a layer inside...
Greetings, I implemented a Vb.Net 2010 project that includes a form containing ArcEngine MapControl, TOCControl, & ToolbarControl in order to load layers (data) in the TOCControl and view it inside...
View ArticleMigrating from ArcEngine 9.3.1 for VC++ COM
I have a MapControl embedded in an MFC application that uses Visual Studio C++ and ATL/COM to host the MapControl and interact with ArcEngine 9.3.1. Can somebody tell me if it is possible to still use...
View ArticleHow to force CostDistance to stay integer
Our client asked us to incorporate blockages and delays for movement of boats and ships on the local waterways. In our one process we are creating polygons of the distance a boat can move at top speed...
View ArticleDynamic layer drawing paints extra squares.
I implemented dynamic layers based on the some samples on the forums. I noticed that in my implementation, when dynamicMap.DynamicMapEnabled = true; The map flashes Black twice. Not sure if this is OK...
View ArticleWarning References to embedded interop assembly in arcobject.net
Hi all, The following warning is showing whenever i build my project. A reference was created to embedded interop assembly 'ESRI.ARCGIS.Geodatabse' because of an indirect reference to that assembly...
View ArticleHow do I refresh a GroupLayer in ArcScene?
I have working code that creates a new grouplayer and add some custom layers to it. However when I later create a new custom layer and add it to an existing grouplayer; it is not drawn and I have to...
View ArticleWhat is the most efficient (best) way to uniquely identify a feature on a arcMap
I need to store a reference to a selected feature that a user selects on the arcDesktop. At first, we proceeded this the assumption that the layerClassID and the featureOID uniquely identifies a...
View ArticleHow to calculate scale while switching from data view to layout view.
Hi All, I need to pragmatically calculate the scale while switching from data view to page layout view. Is there any interface readily available for this purpose or any algorithm/formula for this...
View Article