ArcGIS Engine is for embedding GIS data, maps and geoprocessing into desktop and mobile applications.

learn more… | top users | synonyms (1)

4
votes
4answers
2k views

How to determine a point lays within a polyline in arc engine?

I recently asked a similiar question on this, however I needed to know if there is a way to solve this if I only have a IPolyline Feature, and not the whole layer. I want to know if I can determine ...
4
votes
3answers
993 views

Get part of polyline based on 2 points in Arc Engine

Currently I have a layer with polylines; in another layer, I allowed the user to create 2 points on the polyline. I want to know if there is a function for the polyline feature that I can use to get ...
2
votes
2answers
673 views

Drawing in ArcGIS Engine

I am trying to port over a large amount of code for drawing lines, bitmaps (with transparency), and text onto our map display. Originally it was done using Dynamic Display and IDynamicMap but that is ...
5
votes
2answers
625 views

Does anyone know a function to determine if a Point lies on a polyline?

ArcEngine 10 .Net 4 c# Hi I'm currently allowing user to select a point on a polyline and creating a point on the line. I am using snapping tool. I just want to make sure that when the user clicks ...
12
votes
1answer
429 views

Hyperlink tool use in ArcEngine

I'm having some difficulties using the hyperlink tool (ControlsMapHyperlinkTool) in ArcEngine. Does anyone have any experience with it? It looks like it behaves correctly except that every time a ...
1
vote
1answer
286 views

Integrate ArcGIS 10 extension INTO ArcEngine 10

I was wondering if there is a way at all to use some of ArcGIS 10's extension into arc engine. A good example would be if we could put Arc Hydro extension into ArcEngine. Thanks and Regards, Kev
3
votes
2answers
236 views

How can I load .SID files in ArcEngine?

How can I load .SID files in ArcEngine? I think its possible, but I can't find any links. With Kirk's help I got it here's the code: public void add_SID_file(string dir) { ...
5
votes
1answer
439 views

New Snapping while editing vertex's in ArcEngine 10

Is it possible to use the new (not classic) snapping functionality when editing the vertices of a polygon feature in ArcEngine 10. I would like editing vertices to behave exactly the same as editing ...
4
votes
1answer
367 views

How can I import external bookmark (.dat) using ArcEngine

Does anyone know how to use arcObjects (specifically ArcEngine for me) to import a bookmark (saved as a .dat) that was created and saved externally using ArcMap? I have an ArcEngine application that ...
1
vote
0answers
277 views

Spatial Reference and Area/Length Attributes relationship

I currently allow users to add a shape file in. From the shape file, allow the user to generate a new layer base on the polygons from the shape file's polygon they imported. Generating the new ...
1
vote
1answer
352 views

If a shapefile with geometry esriGeometryPoint is valid is it guaranteed to have a non null featureclass?

I have been given a point shapefile but it's feature class is null. I haven't seen this before so I'm wondering if the data is bad or if it's something I need to handle with code. //I was using this ...
2
votes
1answer
283 views

arcgis10: export eventlayer (from querylayer) to ArcSDE

I am not using arcmap but I am creating a arcgis desktop console app. I am pulling an external SQL table in as a querylayer. This table has lat & long so I created an eventlayer (or ...
3
votes
4answers
1k views

Help with QueryFilter

I have a query filter which works if pass a new instance of QueryFilterClass without setting any properties. But it breaks if I set the WhereClause. I get an error 0x80040358 ...
3
votes
2answers
299 views

SQL statements on a Geodatabase

I have converted a shapefile into a geodatabase which I use for geocoding via the ILocator interface. It has the extension (.mdb) and contains address fields with a point which is stored as a long ...
4
votes
2answers
97 views

Given a collection of IPoints is there a quick way to get the extent that contains them?

I have a bunch of IPoints. I need an extent which contains all of them. Is there a quick way to do it? I had the idea of converting them to screen coordinates and then figuring it out manually but ...
4
votes
2answers
867 views

Identifying features using ArcGIS Engine?

I am new to arcgis. I am building a custom desktop GIS application using arcgis engine 9.3.1 . I want to make a custom identify tool and add it to toolbar control. Any example or code will be ...
0
votes
1answer
393 views

How to print ActiveView to printer in ArcEngine 10

I am following a printing tutorial, but it's not working. The tutorial is here: ...
1
vote
1answer
471 views

Adding a marker symbol to a MapControl

How do I add a marker symbol to an ArcGIS Engine MapControl at a specific coordinate?
1
vote
1answer
270 views

Capturing Feature Dragging and Dropping, ArcEngine 10 .net 4

I am currently trying to implement something that captures the feature that i clicked on and dragging. Basically i want to be able to "OnMouseUp" figure out the item I was dragging, so I can do some ...
1
vote
3answers
3k views

ArcEngine 10 Polyline with arrow

I was wondering if there is a way to draw a polyline but with an arrow head at the end point? Thanks all IPolyline line = new PolylineClass(); ...
2
votes
1answer
510 views

Drag and Drop with Arcengine MapControl within WindowsFormsHost in WPF

I have an application that requires dragging and dropping onto Arcengine's Mapcontrol in a Windowsformhost. I have set the Allowdrop property on both the host and the control itself and it still does ...
4
votes
1answer
486 views

Is there a way to get the X,Y from a feature class?

I currently have an instance of a selected feature class, and I want to be able to get the midpoint X,Y (if its polygon) or the X,Y (if its IPoint) of the feature from the layer, is there some build ...
3
votes
2answers
626 views

Is there a way to make a straight line in ArcEngine 10 (Polyline but with ONLY start and end)

So I want to allow the user to create a connection between 2 polygons on my map. So it doesn't make sense to allow them to draw polyline with multi points. My question is, is there a way I can do ...
2
votes
1answer
175 views

IToolbar uncheck items - ArcGIS

I currently have an app with two menu bars. One being the AxToolbarControl in a UserControl and one in a separate menu bar containing in-house stuff. I currently have the issue where if I select ...
2
votes
2answers
803 views

Selecting Multiple Layers under Table of Contents

I have been trying out what ARCMap10 can do in terms of the TOC. And their TOC has a lot of good functionalities. I really want to figure out how to Group/Drag and Drop/ and select multiple layers. ...
3
votes
2answers
841 views

How to group layers in ArcEngine 10

I was wondering if there is a way I can code the TOC control so that I can select multiple layers and GROUP them together. So if i uncheck the group, all layers will be unchecked and be invisible. ...
3
votes
2answers
259 views

Programmatically reordering ArcGIS layers

I programmatically create several layers for my map and I want my layers to be on top of the layers from the original map. Is there a way I can do that? I also want to be able to put "bring ...
7
votes
1answer
2k views

How to Verify if a FeatureLayer already exists?

I am currently working on a project where when user loads up their map (mxd) into our system, we create several custom featuerlayers for them. My problem is though, I have no idea how to check if I ...
5
votes
1answer
273 views

Creating dynamic links between features

I currently want to create links between 2 features. Ie., I have 2 basins that flow out and I want to use a line/polyline to have a link out of them and both point to a common 3rd feature, indicating ...
2
votes
1answer
593 views

ArcEngine 10 Editor: Split/Rotate/Cut Features toolbar?

I am currently looking for the Split/Rotate/Cut/Reshape tools in the toolbar control provided by ESRI, however according to ArcGIS Engine commands page there isn't one. Is it called something else ...
2
votes
1answer
2k views

How to MOVE and RESIZE Features within a Layer?

I am still new to ArcEngine 10, I currently am able to create a feature layer that is associated with a feature class. Its a polygon layer. So I can create polygon, give it attritbute table and put it ...
1
vote
1answer
104 views

Configure SoundEx in ArcEngine

Is there a way to configure SoundEx properties in ArcEngine? This query: "100 Fairvew Rd returns "100 Fairview Rd" But this query: "100 Farview Rd" returns no results Is there a way to make the ...
1
vote
0answers
342 views

Argument is not a com object : null

With ArcEngine 9.3.1 in java (but I suppose, it's the same in .NET), I'm developping an application which loads a mxd file. This file contains about 20 layers with shapefile, JPG's, TIFF's files. This ...
4
votes
2answers
464 views

Topology Edit Tool in ArcGIS Engine

Is a Topology Edit Tool available "out of the box" for ArcGIS Engine 10? Or do I have to write one myself?
3
votes
1answer
581 views

save IGeometry to disk as a Layer file

How can I save an IGeometry to disk as a Layer file? ArcEngine 10, C#, VS2010 Edit 1: With Jason Scheirer 's suggestion I managed to convert a point into a shapefile - and I'll post the code here ...
2
votes
1answer
722 views

ArcGis Engine, select object(s) by mouse

I've got a standalone program using ArcGis Engine, showing a map on the screen like this: AxMapControl _mapControl; AxToolbarControl _toolbarControl; // in constructor: _mapControl = new ...
3
votes
2answers
2k views

ArcGis Engine, how to zoom&pan to selected objects?

I'm writing a program using ArcGis Engine, and need to zoom&pan into the map to show the selected content. Loading and displaying the map does work using something like this: AxMapControl ...
4
votes
3answers
449 views

How can I programmatically determine if a shapefile contains points, polygons, or lines?

How can I programmatically determine if a shapefile contains points, polygons, or lines? ArcEngine 10, VS2010, C#
2
votes
2answers
521 views

Make a single layer multiple colors

I have a layer file that has a few polygons in it, each of these polygons is required to be a different color based a column in the DBF file. I normally color layers like this: ISimpleRenderer ...
2
votes
4answers
2k views

Where can I download ArcGIS Engine 10?

Can anyone help me find the link to download ArcGIS Engine 10? I have tried to find it, but unfortunately I have not found it.
1
vote
1answer
581 views

Change annotation font size on a IGeoFeatureLayer

I would like to change the font size for the annotations on an IGeoFeatureLayer. I tried to set it in the lpLabelEngine.Symbol.Font.Size below but the set doesn't persist. IGeoFeatureLayer ...
0
votes
1answer
113 views

Give Universal BaseCommand a custom Icon

If I add ControlsMapZoomInTool like this: AddItem("esriControls.ControlsMapZoomInTool", -1); To a Basic Context Menu I get the magnifying icon in my context menu right next to the words "Zoom In". ...
12
votes
5answers
3k views

What are the rules for releasing ArcObjects from memory in .NET?

Do I need to release each object? Is some memory management handled for me? ArcEngine 10, VS2010 C#
7
votes
2answers
473 views

Exporting ArcGIS plugin data source to Shape

I have implemented a plug-in data source for ArcGIS. In my case, the format read by the plug-in may contain point, line and polygon features within the same file. In my implementation the data file ...
0
votes
1answer
564 views

Programmatically uncheck layer in AxTOCControl

I am running my map in dynamic display mode, and I want to programmatically uncheck a layer that is not a IDynamicLayer that is visible in the AxTocControl -- its just a regular layer file. I ...
0
votes
4answers
931 views

MFC Dialog Application using ESRI ArcEngine 10.0

I'm new to ESRI ArcObjects and I'm trying to create a basic MFC dialog application. I add the License and MapControl to the dialog resource. I compile and run the app, but I get the following runtime ...
2
votes
2answers
281 views

Migrating Defense Solutions objects from ArcGIS 9.3.1 to 10.0 gives Unable to cast COM object error?

I've got an ArcGIS Engine application that uses the IMADtedLayer interface to access VPF DTED catalog layers and adds them to a map. The code ran fine under v9.3.1. I just updated to v10, and now I ...
3
votes
3answers
802 views

How to use ArcGisServer from Engine?

MapServerQuerySublayer (Version 10) does not seem to support setting a definition query, although according to documentation it should using ImapServerSublayer2.LayerDescription as IMapserverSublayer. ...
2
votes
0answers
234 views

How to turn off tool tip for the Identify button?

When using the esriControls.ControlsMapIdentifyTool tool, the (i) button, whenever you click it, it says "Click on or drag a box over a feature and place on the map where you want to identify" in a ...
7
votes
4answers
1k views

US One Address locator style missing city, state and zip code fields?

I am using the file: C:\Program Files\ArcGIS\Desktop10.0\Locators\US One Address.lot To do address resolution on a parcel / polygon layer. I'm trying to understand why the file doesn't contain ...