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

Given an ISymbol, how to know if ICartographicLineSymbol or ICharacterMarker

Given an ISymbol, how do I know if it's a an ICartographicLineSymbol or ICharacterMarkerSymbol? I tried using the "is" C# keyword.... if(mysymbol is ICartographicLineSymbol) { } else if(mysymbol is...

View Article


ESRI's development plan for developers

I think I am going to scream. We develop in C# using Visual Studio (2010, 2012, 2013 - doesn't matter). I am now investigating our migration to 10.2.2. I was pleased to note that no changes (other than...

View Article


CPP vs VCPP API

Hi I am trying to understand the difference between the C++ cross platform API and the desktop Visual C++ API. I was looking at the TinToPoint sample that is in both the VC++ API sample and the C++...

View Article

does IMarkerSymbol extend ISymbol ?

Because the reference does not say that it does. Usually the reference would have an "Inherited Interfaces" section, but IMarkerSymbol, ILineSymbol, and IFillSymbol don't have it.

View Article

Identify Route Location GUID different in .NET?

Finally getting around to porting a VBA based toolset to an addin using .NET. On a dialog, I include a button for my users to quickly change their active tool to ESRI's Route Identify tool. Under VBA,...

View Article


Geographic Coordinate System Corruption in ArcObjects 10.2.2

Hi, We just upgrade from ArcObjects 10.1 to 10.2.2 and now we're having a problem where the Geographic Coordinate System (GCS) object gets corrupted after calling the DefineEx (or Define) method a few...

View Article

Using IGeoProcessor2 to update Oracle Spatial

In the below example the input and out are shape files read from folders.Is it possible to read and write Oracle Spatial Geometry tables? I have ArcGIS,ArcSDE and Oracle Spatial 11g. How to set...

View Article

Can't find the way to fill in_raster parameter

Dear All, I am trying to work with ESRI.ArcGIS.SpatialAnalystTools.CellStatistics, and the input is a set of layers, i couldn't find any way to pass this parameter, I am using c#, I tried Array of...

View Article


IWindowPosition.Move does not work.

Hello, Below is my code to move the Toolbar in the ArcMap. Code: private void DockToolbar(string guidValue)         {             try             {                 ICommandBars pCommandBars;...

View Article


Need some example for UseGeodesicBuffering

I’m trying to find a geodesic buffered region for a given polyline in a WGS_1984_UTM_Zone_52N coordinate system. However, When I try to get a buffered polygon for this, the program shows...

View Article

The Workspace is not connected .......Error ArcGis 10.2.1

Dear Friends We have recently migrated from ArcGis 9.1 to 10.2.1 VS2010 .We have tool to insert features into a feature class.Initialy after migration tool worked without any errors but sometimes tool...

View Article

Creating *actual* custom commands with BaseToolbar

Hello, I am in the process of creating a toolbar containing nested menus with buttons and other menus for access of some custom functionality for end users. For whatever reason, since the ArcMap addin...

View Article

Get points along a polyline at defined distance

Hello, i need to store into my array the points along the polyline each defined distance. Example: The Polyline lenght is 50m, i set interval to 5m. I have to store in the array all the points along...

View Article


Visual Studio 2012 Installation of ArcMap Class Library

Just wondering if there's any good documentation that outlines the method to build an installation project of an ArcMap Class Library using the following: Visual Studio 2012, InstallShield LE and...

View Article

Authorize License by code

Hello, I have a question, I need authorize ArcGIS Desktop and ArcGIS Server, version 10.2, but by code. This is my code: IAuthorizeLicense aoAuthorizeLicenseClass = new AoAuthorizeLicenseClass();...

View Article


Image may be NSFW.
Clik here to view.

Break circle where user clicks

Hi, I'm having some issues right now with breaking a circle where a user clicks. The way I'm currently doing it (which works for straight polylines) is to take the Feature object and cast it to...

View Article

Join two feature class tables using STIntersects problems..... what am I...

Hello - We are using ArcGIS10 and I am using ArcObjects for Java to do some tasks (we have SDE sitting on top of Oracle). I have two tables which each have a Polygon feature. All I want to be able to...

View Article


Manipulate Menu

How to add[using vb.net] a new menuitem to an existing [customized]menu on mainmenu bar?

View Article

Adding geometries to a GeometryBag is giving me odd results

I am using Java ArcObjects and I want to go through a FeatureCursor, get each feature's shape, and add the shape to a GeometryBag. What I do is the following: Code: GeometryBag gbag = new...

View Article

Releasing locks on raster objects

Hello, I have written a pretty simple add-in (in C# .NET) that does some symbolizing on raster (TIF) layers, changing their renderers in the process. When I remove these raster layers from ArcMap,...

View Article
Browsing all 1374 articles
Browse latest View live