Quantcast
Channel: Forums - ArcObjects SDKs
Browsing all 1374 articles
Browse latest View live

Connect to geodatabase using .SDE file

Working in C# I have been working with arcObjects and researching connecting to a geodatabase. I already have a working .SDE file created. Again, my lack of understanding and the convolution from the...

View Article


Discover renderer line symbol type

I'm trying to figure out how to discover if the symbol class from a simple renderer is CartographicLineSymbol in vb.NET According to the documentation ISimpleRenderer.Symbol returns ISymbol. According...

View Article


Migrating .NET Addins from 10.0 to 10.2

I have some .NET Addins I developed on a 10.0 platform with VS 2010. I need to use those add-ins in an ArcGIS 10.2 environment. I get several error messages everytime I open a form but I clear the...

View Article

C# Query From GeoDatabase to Return Single Value (Arc Objects)

Using C#, arcobjects and IQueryDef, I've been learning how to write queries to return rowsets and multiple results. I would also use ICursor and Irow to loope through each record from the cursor. This...

View Article

Delete map surrounds by Del button ?!!

Hi all My question sounds simple but i couldn't find a working solution for it. There is PageLayoutControl and some tools for adding north arrow, scalebar, ... to this layout. There is also an ordinary...

View Article


Use IRasterShader in add-in button?

Hello, I want to create an add-in button that programmatically applies contrast, brightness, and gamma to a raster layer. I found the IRasterShader interface in the documentation, but no examples of...

View Article

Geometric Network - junctions along a single segment

I am trying to learn how to use a Geometric Network at the same time as how to programmatically do a specific task. What I want is to select a single segment (by an attribute) and have it select all of...

View Article

GeoDBDataTransfer - Is there a realistic size limitation?

I have a GDB copy utility that copies datasets from one GBD to another using the GeoDBDataTransfer.Transfer() method. One GDB approximately 9GB in size transfers correctly, while another that is just...

View Article


Remove custom contents view from ArcMap TOC?

The ESRI sample, TOCLayerFilterVB2010, implements a custom TOC view for map layers. For my purposes, I need to be able to turn it on/off, meaning add and remove that view from the TOC horizontal icon...

View Article


Averaging raster cells that fall within a polygon

Hello, I am about to begin developing a function that has a polygon featureclass and a raster as inputs. The purpose of the function is to calculate the average of the raster cell values that fall...

View Article

.Net user drawn polyine with rubberBand.TrackNew doesn't snap

Hi, I'm very new with writing custom code for ArcMap. I'm having some issues right now with having the user draw their own line on the screen, I want it to work the same way the line -> straight...

View Article

ArcGIS Engine Application Won't Run

i have created an ArcGIS Engine Application using 10.2.2 and VS 2010 .Net... and installed the ArcGIS Runtime 10 in a separate computer... the application was installed but when i try to run my...

View Article

Accessing Folder Metadata

Hello. I can access the metadata of for example a shapefile using: Code: IGPUtilities gpUtils = new GPUtilitiesClass(); IName nameObj = gpUtils.GetNameObjectFromLocation(filePath); IMetadata metadata =...

View Article


Accessing a layer's minimum scale by ArcObjects - numerical problem!?

Dear all, I use ArcMap 10.0 SP 5. I have a MXD file that contains a layer. In the layer properties within ArcMap I set the visible scale range for the layer, e.g. a minimum scale of 1:501. However,...

View Article

Featureclass is null from Featurelayer

Hello, I am using ArcObjects 10.1 to read an MXD and am trying to export all of the layers inside of it to shapefiles. I am first getting the featureclass from the layer by using: Code:...

View Article


Arc Objects - Evaluate entire query from string variable

I have been working with ArcObjects using IQueryDef to create queries. Using IQueryDef incroporates the use of 'Subfields', 'Tables' and a 'WhereClause' to create the query definition. This works...

View Article

NEWBIE Help with VBA Form to add features to an existing point shapefile.

Sorry if this is a stupid question or posted somewhere already. I want to use a VBA form to add point features to an existing point shape file. I have seen bits and pieces but not enough to give me a...

View Article


Problem with Debugging and it appears Registering of custom DLL

Hi, We have a custom dll that extends ArcObjects for some custom functionality in ArcMap. We are using .net v4, ArcGIS 10.1, Visual Studio 2010. I'm having issues hitting the infamous Debuggin "The...

View Article

Image may be NSFW.
Clik here to view.

How to get a layer’s DataSource from arcgis server

As we know, we can get map informations by using [ESRI.ArcGIS.ADF.ArcGISServer.MapServerInfo] class, but it does not contain layers' property. How can I use ESRI soap API or rest API to get layers'...

View Article

Anyone had experience using ISearchEngine?

I am trying to create an index of the personal and file geodatabases on my system. I can use FileInfo and DirectoryInfo to do so, but I'd rather do this using ArcObjects components if possible. I'd...

View Article
Browsing all 1374 articles
Browse latest View live