1
vote
0answers
224 views

Drawing Curves/Bezier Lines with ESRI WPF Runtime

I'm looking for some pointers on how to draw a curved line or bezier line in WPF runtime. The WPF runtime sample application has a drawing mode for straight line, polyline, and freehand. However, no ...
2
votes
0answers
367 views

Recommendations on an MVVM framework for ArcGIS Desktop add-ins and/or ArcGIS WPF Runtime

Is anyone using an MVVM framework with ArcGIS Desktop add-ins or the ArcGIS Runtime for WPF? I am leaning towards Caliburn.Micro simply because it seems to be the most popular "lightweight" MVVM ...
3
votes
1answer
749 views

Displaying information on a map using an InfoWindow

I am wanting to display information in an InfoWindow when the user clicks on a point on the map. I have implemented the InfoWindow in XAML, but I do not understand the code behind it. Any information ...
1
vote
1answer
395 views

Retrieving XY from point graphics set in WPF network (arcgis 10.0)

I have a WPF application using ArcGIS 10. In the application I can set two point by clicking on map and calculate route between them. every time I click on the map, The application creates a ...
1
vote
2answers
79 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
578 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
64 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
242 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 ...
4
votes
1answer
2k views

How to make a WPF Window be a well-behaved child window of ArcMap?

I am pretty familiar with Windows Forms in ArcGIS but WPF, which I'm just starting to tinker with, seems to be a different animal. I've created an ArcMap add-in with a button that displays a Window ...
4
votes
2answers
879 views

I need help with saving Graphics to the a map

I have everything working just like I need it to, but when I add a new graphic to the map it does not save it. So I will add it, close the application, and when I reopen it the graphic is gone. I have ...
2
votes
0answers
527 views

Implementing custom IRenderer for ArcGis 10.0/WPF

EDIT: Updates in the bottom As a followup to my earlier question, I'm trying to implement custom symbol rendering for my WPF/ArcGIS application. I'm accessing layers that have been published on the ...
7
votes
1answer
1k views

How do you draw a polygon (programmatically) on an ESRI map? [WPF]

I would like to programmatically draw a polygon on an ESRI map. I'm using this code to draw a polygon with the mouse but I'm really new to this technology and I'm a little bit lost ... Here is my ...
1
vote
1answer
287 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 ...
1
vote
0answers
299 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
2k 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
436 views

ArcSDE 10 FeatureLayer is read only, FeatureTypes property is null, not sure why

I have a WPF FeatureLayer backed by an ArcSDE feature class that I hope to use for editing. After the layer is done initializing its readOnly property is true, I think that this points to some problem ...