ArcObjects is a set of COM-based APIs from ESRI Inc. that are used in several of their products including ArcGIS Desktop, ArcGIS Engine and ArcGIS Server.

learn more… | top users | synonyms (3)

0
votes
0answers
2 views

Visual studio problem with Map Control Application

I have installed Microsoft Visual Studio Proffisional 2013 (12.0.30501), ArcGis 10.3.4322, ArcEngine 10.3.4322, ArcObjects SDK for the Microsoft .NET framework 10.3.4322 I need to create an Add-in ...
2
votes
0answers
17 views

Serialize geometry to GeoJSON with ArcObjects

In the ArcObjects developer SDK, I found that the IExternalSerializerGdb2 interface of the JSONSerializerGdb class supports writing to GeoJSON. ArcGIS Developer Help (ESRI.ArcGIS.Geodatabase) ...
1
vote
1answer
42 views

Can I simulate the user interaction described with a series of scripts/tools/buttons? [closed]

I’m trying to find the best solution for adding/update a new/old record in a feature class in ArcMap 10.3 environment using a GUI. I’ve done some research for the last couple of days trying to ...
0
votes
2answers
73 views
+50

Drawing markers and text on ArcGIS map, at fixed size, independent of zoom?

I'm writing a WPF application, in C#, using ArcObjects. I have an ESRI.ArcGIS.Controls.AxMapControl on my form, and I'm trying to draw some graphics elements on top of it. The map I'm developing ...
1
vote
1answer
28 views

Alter Esri geoprocessing environment settings with C#

I maintain an extension to ArcMap (currently at 10.2.2) for coworkers' internal use. Several people lately have been tripped up by un-set spatial grid settings when trying to export data into a file ...
0
votes
0answers
20 views

C# Arcobjects Adding multiple fields from selected features to datagridview

I'm fairly new to developing add-ins in c# and I'm trying to write multiple fields of selected features to a datagridview. Currently, the code will only display one field. I've been playing around ...
0
votes
1answer
36 views

Convert lat/long to arbitrary projection?

I'm writing Windows WPF application using ESRI's axMapControl, and I need to display points on the map, where the points are in lat/lon (WGS 1984), and the map projection is determined by the user. (...
3
votes
2answers
49 views

ArcObjects: Is there a way to insert an error into the Start Editing dialog

When I use the the Editor Start Editing toolbar item, a dialog with information, warning and error appears before the edit session is started: Is it possible to insert programatically my own error ...
0
votes
1answer
26 views

ArcObjects: Is there a possibility to cancel stopping an edit session in BeforeStopEditing event

I have additional data to be stored when an edit session is saved. If the storing of the data fails (it is located on an internet service) the edit session should not be saved, otherwise data would be ...
1
vote
1answer
12 views

ArcObjects: identifier for ICommandBars.Find

I am looking for the identifiers for the method ICommandBars.Find(object identifier) method in the ArcObjects. During web search I found the following page, that used the class ArcID, but I cannot ...
2
votes
1answer
46 views

Creating a Line at a Length and Angle in WGS84 - Arcobjects

I need to draw a line at desired length(around 10-20 Km length) and a user entered angle. The map/data uses WGS84 coordinate system. So the measurement is geodesic. Here are the methods that I tried. ...
1
vote
1answer
28 views

How to turn off the visibility of a layer?

I'm making a geoprocessing tool with ArcObjects Java (IBasicGeoprocessingTool) and I need to make a layer not visible. I managed to get this layer as IFeatureLayer and I get an access to the map or ...
3
votes
1answer
38 views

How to use ArcGIS FeatureToLine with Managed Assembly

I am writing an ArcMap Add-In to combine multiple shapefiles and then run some custom python scripts on the resulting shapefile. However I cannot seem to get the Geoprocessor working to run the ...
0
votes
1answer
16 views

What file did esriControls.ControlsOpenDocCommand open?

I'm working on a Windows application, using ESRI's ArcObjects. In the ArcGIS 10.4 Engine ToolbarControl, I'm placing a esriControls.ControlsOpenDocCommand. With this, the user can select any .mxd ...
0
votes
0answers
18 views

Creating multi-row toolbar in ArcGIS Engine?

I am using ArcGIS Engine 10.1 and Visual Studio 2010 I created a MapControl App, (New Project>Visual C#> ArcGIS>Extending ArcObjects > MapControl Application) and added a toolbar (In MainForm and ...
0
votes
0answers
31 views

Failed to create raster dataset using ArcObjects?

I am currently unable to create a raster dataset. These are the 2 functions i have for creating the raster dataset but it seems to always throws an error "unable to create raster dataset". After ...
3
votes
1answer
42 views

ArcGIS not finding newly installed toolbar (.dll, .tlb files?)

I'm trying to use a toolbar that was developed by the EPA for BMP siting (see below link). The download seems like it should be fairly straightforward, an executable (BMPSitingTool_Setup.msi) is run ...
0
votes
2answers
75 views

ArcObjects C#: How to add selected features to a Data Grid View

[![enter image description here][1]][1]I'm trying to write a C# .NET add-in for ArcMap and I need some help. I want to be able to select a set of features in an SDE and then click a button that would ...
0
votes
0answers
48 views

Programmatically generate a heat map based on the the lat and long values

I am new to Arcgis and i am using version 10.2. I am using C#/.Net I would like to programmatically generate a heatmap based on the list of coordinates that i have in DB. I am stuck on how to ...
2
votes
1answer
40 views

How to make a polyline with two-sided arrows show two colors

I am very new to ArcGis development and so bear with me if I asked a silly question. I am using ArcGis 10.2 on C#. I have two features (A and B) on the map. I need to place two arrowed lines - one ...
0
votes
0answers
36 views

HRESULT EXCEPTION error - Arcmap Geoprocessing .net

I am writing a script / Add-in for Arcmap and am coming unstuck with an error when I am trying to "delete identical" records in an SDE Geodatabase. Running through the process. I have a SDE ...
1
vote
1answer
25 views

An unhandled exception of type 'System.AccessViolationException' occurred

I am trying to learn Arcobject with C# through a book named "begining arcgis desktop using dotnet" , in this book an example is given to use geoprocesisng tool to be used through arcobject. below in ...
0
votes
0answers
13 views

Arcobjects not drawing GraphicContainer if layers are in the TOC

Im trying to draw some graphic labels in Layout View for every row in a feature class chosen by a user in a combobox. I am just in testing out some code to draw the label graphic and it works fine, ...
0
votes
1answer
60 views

How to access output parameters from a Python Toolbox Tool called by .NET?

I am trying to access an output parameter from a Python toolbox tool and cannot find any information about how this is done: I am developing an Esri Add-In for ArcGIS 10.1 SP1 for Desktop (Build 3143)...
0
votes
1answer
29 views

Exporting map with arcobjects interupted by refresh event

I have developed an ArcMap extension in C# for ArcGIS 10.0 with a Form that configures the PageLayout and exports the ActiveView as PDF. There are two different ways to do that. You could use ...
1
vote
0answers
41 views

ARCGIS 10, VB.NET, calculate centroids

I have migrated an toolbar initially developed for ArcGIS 9.3. This tool is used by non-programmer or cartographers. One procedure is called to generate centroids of attributes table and after to ...
2
votes
1answer
32 views

Activate 'View Item Description' programmatically?

I have created an ArcMap add-in for browsing data layers and adding them to the TOC. I would like to add a button that when clicked will open the selected layers item description (before it is added ...
3
votes
1answer
83 views

Not getting all decimal places when converting numbers to string (ArcObjects with VB .Net)

I would like to build some queries in my addin from layers in my map. I am having problems with double numeric types. esriFieldTypeDouble has 14 - 18 decimal places or more depending on the database ...
0
votes
1answer
23 views

Unable to populate required data in combobox

I am new in C#, I was given a VB code to migrate in C#. I have done most of it but not able to populate data in COMBOBOX. On clicking the dropdown button, Combobox is blank, on clicking the blank box ...
0
votes
0answers
12 views

Using ArcObjects ILegendInfo.getLegendItem()

I would like to implement the function ILegendInfo.getLegendItem(). In the API documentation it is described as optional. http://help.arcgis.com/en/sdk/10.0/java_ao_adf/api/arcobjects/index.html?com/...
1
vote
1answer
50 views

setting label expressions causing duplicate labels

kind of new to VB.NET. Trying to set my label expression for a layer. Essentially a user picks a layer from a combo box, hits a button, expression is applied on the layer and then the single shp file ...
0
votes
0answers
32 views

Placement of the Legend in Layout

I am trying to put the legend at a specific place in the layout using ArcObjects. I am creating an Envelope and trying to create the UpperLeft corner but the placement does not appear correct. I am ...
1
vote
0answers
20 views

Make IDataElement from in memory featureclass

I'm trying to do some fieldmapping, but need to make a dataelement from an in-memory featureclass in ArcObjects to pass to the geoprocessor. Basically, this line from the sample code: IDETable ...
0
votes
1answer
34 views

VB.net search for address in Geodatabase in ArcObjects

I am try to search for address in Geodatabase in ArcObjects using VB.NET I tray this sample but my database is large so when I use this sample in TextBox1_TextChanged it is slow ! How can I search ...
1
vote
1answer
43 views

How to refresh displayed labels after setting properties via ArcObjects?

I originally posted this query on the ESRI forums but thought I may get more help here. I have cobbled together some code to set halos around text labels for a given feature layer in ArcMap. The ...
0
votes
0answers
20 views

Selection anchor when selecting features programatically

In an edit session, I am using code to select multiple features from an SDE polygon layer. After the selection is performed, the user can then use the rotate tool to adjust the features to their ...
3
votes
0answers
42 views

Multiple columns in TOC and Legend in ArcMap

I would like to give the user additional information next to the label in the TOC of a UniqueValueRenderer for each class. I can just add the numbers in the labeltext, but it does not align to proper ...
0
votes
0answers
23 views

Is it possible to obtain the envelope of a Data Frame element in Layout view?

I'm wondering if there is a way to create an envelope in map units of the extent of the Data Frame element in Layout view. I've tried this approach: IMxDocument mxdoc = ArcMap.Application.Document as ...
2
votes
1answer
41 views

Access resolved/rendered dynamic text from ArcPy or ArcObjects?

Using ArcPy (or ArcObjects if essential), is there a way to retrieve the rendered text of a text element that includes Dynamic Text? The text property of the TextElement includes the Dynamic Text ...
0
votes
1answer
50 views

Update Attribute with user form input

I try to use this code to fill attribute of map with my form but it dose not work? Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ...
1
vote
1answer
48 views

How to access XY position of text element in Layout view using ArcObjects

I'm wondering which interface will allow me to set the XY position of a text element in the page layout of my MXD. I have tried the IElement.Geometry.Envelope.PutCoords(Y, X) to no avail.
0
votes
0answers
27 views

Problem with some C# code in ArcMap 10.2

I have been programming a Base Tool control using C# to allow me to initialize the edition of a specific featurelayer in an ArcMap view; a time ago I used to do the same thing in ArcMap 9.3 and it ...
1
vote
1answer
64 views

Cannot export IActiveView to PDF, invalid pixel bound value(s)

I understand that you have to re-orient the XY/min/max to fit a tagRECT but I'm still getting an "Invalid pixel bound value(s)" error. I have also tried setting Ymin/Ymax = bottom/top but I get the ...
2
votes
2answers
65 views

ESRI.ArcGIS.Desktop.AddIns could not be found. Visual basic build error

I am trying to compile a project in visual basic into an Arc map add on. I am receiving two warnings that are preventing the build from completing. Both errors entail that the assembly ESRI.ArcGIS....
0
votes
0answers
17 views

Cannot pan to correct location using IEnvelope.CenterAt(IPoint)

It seems no matter what projection I try it pans me to the Atlantic Ocean. I have run across this before in an ArcPy script and it was due to being in a projected coordinate system and thus it was ...
1
vote
1answer
33 views

Cannot center IActiveView at IPoint in C#.NET add in

I'm testing a simple portion of my add in and can't get it to center/pan to a specified point, I've included what is currently in my OnClick() method. No errors appear it just refreshes and nothing ...
2
votes
0answers
46 views

ArcMap custom extension registered but not added

I haven't found any info on this particular problem so let me try here. My job is to migrate a 9.3 desktop extention to 10.3, keeping the app in the original COM-based format (not converting it to an ...
2
votes
0answers
60 views

Change coordinate system to add buffer in meters

I have am trying to add functionality to allow users to find points that are within a buffer distance inside or outside the parameter of a polygon. The map is in IProjectedCoordinateSystem so to my ...
1
vote
0answers
49 views

I want to cut polygons in a polygon layer.

I want to programmatically cut polygons already loaded in arcmap. For instance if originally I have 1 polygon feature and 1 row in attribute table. When I cut them, I should see 2 independent features ...
2
votes
0answers
34 views

ArcObjects Custom Tool for a VB App

We have an old VB6 app that uses the map, toolbar and toc controls. On the toolbar, we've added the custom menu so users can add other built-in tools or tools they've created. One of our customers ...