Tagged Questions
0
votes
0answers
6 views
Size of items in a AxSymbologyControl
I'm working on an Engine application, and we use WPF when creating our UI. We've got a dialog for choosing scalebar styles, and it's setup using a WindowsFormsHost. Unfortunately the items in the ...
1
vote
2answers
47 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 ...
2
votes
4answers
260 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 ...
1
vote
0answers
32 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 ...
2
votes
0answers
129 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 ...
1
vote
1answer
203 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 ...
0
votes
1answer
401 views
How to display scale on ArcGis-Engine map?
I embedded ArcEngine 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 how ...
1
vote
0answers
231 views
Convert FeatureLayerClass to shape file 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 shape file and export it.
However, some how for ...
4
votes
1answer
1k views
Feature Layer Attribute table to Datatable and make it editable
Hi Currently i'm using this to turn it into a data table
featureCursor = layer.FeatureClass.Search(que, false);
row = featureCursor.NextFeature();
if (row != ...
2
votes
1answer
415 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 ...
2
votes
1answer
538 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 ...
2
votes
2answers
1k 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 ...