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

IGPUtilities.DecodeRasterLayer() crashes when 2 layers has same name

I got a case here, where two layers has the same name. One of them is a raster layer, the other one is a feature layer. The raster layer is a parameter in a GP tool. When using it as an argument in...

View Article


Need more information on MOLE & Military Analyst for ArcGIS Engine for Java

I've read all king of ESRI documentation about MOLE and Military Analyst, but especially for v10.1, I'm little bit confuse. I understood that these 2 librairies/API are now included in Defense Solution...

View Article


Calculate polygon area inside extent

This is a crosspost from stackexchange We're using ArcMap 10.0 sp5, creating a tool in C# using ArcObjects. Is there a built in function or simple set of steps that calculates the area of each feature...

View Article

How to convert the meters to degrees in GCS_WGS_1984?

Hi Everybody: I am writing ArcObjects tool that works on the data with WGS84 spatial reference, where the X/Y coordinates are degrees. I want to use ArcObjects to buffer a point with 1 meter distance....

View Article

Reverse zoom in/out in a standalone application

I would like to reverse the zoom in/out functionality when scrolling the mouse wheel and pinching (tablet). I have a standalone C#/WinForms application that uses ArcEngine 10.1 SP1 and ArcObjects to...

View Article


ClassBreaksRenderer?

Hi, I've been playing with VB.net, trying to make a choropleth map: I've tried the PresetColorRamp, and then the RandomColorRamp. I either get an error (the compiler doesn't seem to like:...

View Article

IGPFunction2.Execute() never triggers when using IEnumLayer.Next()

Hello, I got an issue in a custom GP tool I don't really understand: In my UpdateMessages() method, I use the following code to run through all layers: Code: IEnumLayer enumLayer =...

View Article

Image may be NSFW.
Clik here to view.

How to get top (or visibles) polygons in specific Layer with ArcObjects

Hi everyone! I need to create an ArcObjects function to get the top (or visibles) polygons in specific layer. It's possible? I have a Layer with a lot of polygons in the same area but i have to get the...

View Article


ADO.NET Entity Data Model

i have tried using ADO.NET Entity Data Model in my ArcDesktop project using dockable windows. but every time i start debugging im getting a error. COMException was unhandled by user code Catastrophic...

View Article


Can't find MapFrame of GraphicsContainer in PageLayoutControl (C#) ?

Hi, I am getting a problem: I added element (text, line) in a ActiveView.FocusMap of a PageLayoutControl, then all elements are showed in the MapFrame of PageLayoutControl.GraphicsContainer. If I don't...

View Article

add xy data

How to add xy data from excel file to arcmap by using vba.excel file in c:\new\excelfile.xls for example

View Article

Join ignores the DefinitionExpression

I wrote the following code to get a FeatureClass with legend information corresponding to the map sheet (for example "TK=1234"). But the result of the join doesn't care of the DefinitionExpression....

View Article

What controls the order of display of layers in the Service Layer Credits?

Hello everyone: I couldn't find any information about what controls the order of display of the credits when a Service Layer Credit dynamic text is used. This is a cross-post between the ArcObjects and...

View Article


Style files location

Is there any function or property in ArcObjects (.NET) which resolves paths to style files location? I want to avoid hardcoding strings like "C:\Program Files\ArcGIS\Desktop10.1\Styles". I am using...

View Article

TIN internal process error.

Hi All, Does anyone know the different possible reasons for a "TIN internal process error." to occure during a raster interpolation using NaturalNeighbor interpolation method (IInterpolationOp3...

View Article


How to detect when a toolbar is closed in ArcMap 10

I have a custom toolbar developed in C# using ArcObjects that is displayed in ArcMap 10. I need to run a function whenever the toolbar is closed/hidden but I have yet to find an event to go by. I've...

View Article

Image may be NSFW.
Clik here to view.

Avoid showing form in windows taskbar

Hello all, When I have a form open in ArcMap, it creates another page in the windows taskbar (makes it look like two instances of ArcMap are open, see pic). Attachment 21958 How do I change this? I'm...

View Article


Geoprocessor HRESULT problem

Hello, I am trying to run a "simple" Getis-Ord analysis on a feature class using the Geoprocessor object, and can't seem to figure out what the problem is. I am getting the dreaded HRESULT E_FAIL...

View Article

Reg : Creating Reports using .Net Arcobjects

Hello , Is the Report functionality available in Arcmap can be accessed using ArcObjects ? Is not , Whats the alternate solution for it . Can please anybody give me a suggesstion or small snippet of...

View Article

HOW TO: Get featureclass attributes into a JTable - Java

I've seen a post or two about getting featureclass attributes into a .NET datagrid, now you have a sample for the Java community... which I believe consists of myself and Eric Bader, and maybe two...

View Article
Browsing all 1374 articles
Browse latest View live