Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
2 answers
222 views

How to edit the position of a banner text's pointer?

I have build an ITool where one can add text (ITextElement) to the map. The user can choose the symbol from the ESRI symbology. There one can choose a symbol called "Banner Text" which looks like this ...
gumo's user avatar
  • 631
2 votes
4 answers
2k views

Why does ITopologicalOperator2 .ConstructUnion produce a somehow invalid polygon?

I try to add a single buffer around the shape of the selected features. So I step through each selected feature and add it's shape to a GeometryBag. With ITopologicalOperator2.ConstructUnion I create ...
gumo's user avatar
  • 631
1 vote
0 answers
164 views

IMapControlEvents2.OnKeyDown not hit on Alt + key

I want to catch the Alt key plus an addionally hit key in the MapControl's OnKeyDown. I did already set MapControl's KeyIntercept to esriKeyIntercept.esriKeyInterceptAlt but the event handler doesn't ...
gumo's user avatar
  • 631
2 votes
0 answers
422 views

How can I free esriControls.ControlsSelectTool? Or is it leaking memory?

In my application I have isues with unfreed memory. After several tries I broke down the problem to a simplified WPF project. It opens a simple System.Windows.Window with a Button, which starts the ...
gumo's user avatar
  • 631
4 votes
3 answers
835 views

How to use ITrackCancel to escape IRubberBand track?

I have a BaseTool for AX_MapControl and AX_PageLayoutControl that allows to draw a polyline via IRubberBand. But once the rubberband is started, you can't cancel it e.g. by hitting escape. I found ...
gumo's user avatar
  • 631
1 vote
1 answer
462 views

Set size of map in PageLayoutControl to print ScaleBar underneath, not within map

For printing we have a PageLayoutControl where the user can select the map extent, he wants to print. I like the map to fill only a square in the middle of the page so that the title, the ScaleBar and ...
gumo's user avatar
  • 631
1 vote
1 answer
1k views

Displaying scale on ArcGIS Engine map?

I embedded ArcGIS Engine into a c#/wpf application and use it to display a map. Now for print my client needs to display the scale of the map like it is used on street maps (the small bar which shows ...
Sam's user avatar
  • 199
1 vote
0 answers
578 views

Convert FeatureLayerClass to shapefile error: Item not found in collection

So following this link http://edndoc.esri.com/arcobjects/9.2/NET/91e3e8a0-d355-43d2-a201-0a8ceb719334.htm I am able to convert my featureLayer into a shapefile and export it. However, some how for ...
Kev84's user avatar
  • 860
4 votes
1 answer
3k views

Feature Layer Attribute table to Datatable and make it editable

Currently I'm using this to turn it into a data table featureCursor = layer.FeatureClass.Search(que, false); row = featureCursor.NextFeature(); if (row != ...
Kev84's user avatar
  • 860
3 votes
1 answer
766 views

Drag and Drop with ArcGIS Engine MapControl within WindowsFormsHost in WPF

I have an application that requires dragging and dropping onto ArcGIS Engine's MapControl in a Windowsformhost. I have set the Allowdrop property on both the host and the control itself and it still ...
tinytinysky's user avatar
2 votes
1 answer
1k views

Selecting object(s) by mouse using ArcGIS Engine?

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 ...
Sam's user avatar
  • 199
3 votes
2 answers
3k views

Zooming & panning to selected objects using ArcGIS Engine?

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 ...
Sam's user avatar
  • 199