Questions tagged [arcobjects]

ArcObjects is a development environment for ArcGIS applications by ESRI.

Overview

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

The APIs can be used several developer platforms including .Net (VB.Net/C#...), Java, C++.

Tag usage

For non-development questions, see GIS Stack Exchange

196 questions
0
votes
0 answers

Inspect Deleted Item in Acrobat

I'm using Acrobat Pro 9.5 to examine a PDF and found it has two elements, a cropped item and a deleted one.  Is it possible to inspect these items?  I'd like to see the deleted object and what was cropped.  Any help would be appreciated.
glez
  • 1,170
  • 3
  • 16
  • 42
0
votes
1 answer

Arcobjects 10.6.1 dll register failed

I have created a ArcMap add-in button and failed in the dll registration. I got Visual Studio 2017, .Net framework 4.62, ArcMap 10.61.1 and ArcObject SDK 10.6.1 installed. The add-in and the dll files were built successfully. The error message…
Paul MJ
  • 3
  • 3
0
votes
2 answers

How can I pass the "gdbFullName" string value from the public class "salida" to the string "fcName"?

I am trying to set a default output name for a shp. file. For this I am to pass the gdbFullValue variable from inside the public class salida to the String fcName so that the output includes the activation code in the final name. I believe it has to…
0
votes
1 answer

How to make the outputfile name a combination of the gdbName and a constant string?

While developing a button, I want the output file generated by the button to have a predefined name consisting in a constant string "PositionalAccuracySamplePoints" and a variable string consisting on the first 15 characters of my gdb Name. I am new…
0
votes
1 answer

get_value of a feature in IFeatureCursor

I'm trying to read the attribute "POSTCODE" of the features in IFeatureCursor. The FID was successful read but the "POSTCODE" was failed. The runtime error 'An expected Field was not found or could not be retrieved properly. Appreciate your advise.…
Paul MJ
  • 3
  • 3
0
votes
1 answer

Problem changing condicionally BackColor in a textbox form

I am trying to design an statement in a textbox of a Windows form so that the backcolor changes if the input given is <, >, or == to a given variable. I've been trying with the if/else if and switch. private void…
0
votes
2 answers

VB.NET Operator '&' is not defined for string and type 'Internalfield'

Background Currently working on a plugin in ArcMap done in VBA from early 2000 and refactoring it to VB.NET. The database is a MS Access Database. Pretty new to VB.NET and coding in general. Error The issue I'm facing is that I'm getting the…
Anna3anana
  • 21
  • 5
0
votes
1 answer

Does anyone know the unit of scale used in scale parameter in ViewPointCenter?

does anyone know the unit of scale used in scale parameter in ViewPointCenter? I've been looking this on the internet but haven't found anything yet. Thank You!!
0
votes
1 answer

Cannot edit a feature layer when I start a session editing

I am developing a standalone app based on ArcGIS Engine, and when I starting a session editing with the code block below: //Declare the Engine editor at the class level. private IEngineEditor m_engineEditor = new EngineEditorClass(); private void…
0
votes
1 answer

Failure in creation of feature class: Unable to create object class extension COM component

I am working with ArcGIS 10.5, installed on-premise, and are developing our feature class in .NET. I have an issue with registering feature classes. We have created a Feature Class and registered the DLL through “ESRIRegAsm.exe”, and it appears in…
0
votes
0 answers

How can I flash the tab of a hidden DockableWindow inside Arcmap

I have an ESRI Add-In for ArcGIS for Desktop (10.2.1) written in C# with ArcObjects SDK. The Add-In includes a DockableWindow. When this DockableWindow is hidden, I would like to be able to flash the DockableWindow's tab inside of Arcmap.exe (NOT…
M Townsend
  • 141
  • 2
  • 3
0
votes
1 answer

How to manage memory in c# and COM objects

I have few questions how Garbage collector works in C# applications Application performs heavy I/O operations and database operations over the course of 10 days. I read at places where some experts advise not to use GC since it is Framework's…
0
votes
1 answer

Get selection polygon ArcObject

In C#/ArcObjects, is it possible to get the geometry of the polygon that is used to select features in ArcMap? For example, when you select point features with a polygon, how do you get the geometry of that polygon? Thank for your help!
baptV
  • 9
  • 2
0
votes
1 answer

Using Copy Local for ESRI References?

I have recently updated to ArcGIS 10.4 and I have to update some code written for ArcGIS 10.2. The code must be run on a 10.2 machine so I thought if I make all the ESRI references 'Copy Local' it would run (with 10.4 compilation) on a 10.2…
John M
  • 53
  • 7
0
votes
1 answer

Esri ArcObjects .NET SDK 10.4 Autogenerated code for Construction Tool throws System.Runtime.InteropServices.COMException when Debugging

I'm currently writing a plugin for ArcMap 10.4 using the .NET framework. I'm using the latest ArcGIS Runtime SDK for .NET (100.2.1) and the 10.4 ArcObjects SDK. I'm developing on a Windows Server 2016 Standard Edition (Version 1607) virtual machine,…
Jake Meacham
  • 103
  • 1
  • 9