|
POST
|
Hi Jana, I have found that some functionality is available only using MFC environment: https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#IOleFrame_CreateOleClientItem.htm So you need to create VC++ library which can create you IElement of IOLEFrame type. How to do that you could find on GitHub sample: https://github.com/Microsoft/VCSamples/tree/master/VC2010Samples/MFC/ole/MFCBind It uses the same Insert object dialog as ArcMap does.
... View more
01-18-2018
01:46 AM
|
0
|
1
|
2852
|
|
POST
|
Hi Khamille, Look at tis thread: https://community.esri.com/thread/204673-arcgis-pro-tab-control
... View more
01-02-2018
12:03 AM
|
1
|
1
|
1165
|
|
POST
|
Hi Thomas, FeatureClass has method GetCount(). FeatureClass pFeatClass = featLayer.GetFeatureClass(); int nCount = pFeatClass.GetCount();
... View more
12-08-2017
05:07 AM
|
0
|
1
|
3498
|
|
POST
|
Hi Morten, I have checked and found that my button was clicked once but fires 2 NavigationCompleted events. My ribbonbutton has PreviewMouseDown implementation which lets prevent double clicks: private void RibbonButton_PreviewMouseDown(object sender, System.Windows.Input.MouseButtonEventArgs e) { if (e.ClickCount >= 2) { e.Handled = true; } } The same situation I get when I try to maximize or restore my application size. I get 2 NavigationCompleted events each time. Maybe problem is Ribbon usage?
... View more
12-05-2017
11:23 PM
|
0
|
0
|
1529
|
|
POST
|
Hi Antti, I have changed ViewpointChanged event to NavigationCompleted but situation is still the same. My fixed zoomin tool (code below) generates more than one event. More than one event I get on my application startup to. private async void FixedZoomIn_Click(object sender, RoutedEventArgs e) { try { MainWindow Form = Application.Current.Windows[0] as MainWindow; if (Form == null) return; Viewpoint vp = Form.MyMapView.GetCurrentViewpoint(ViewpointType.CenterAndScale); Viewpoint nvp = new Viewpoint(vp.TargetGeometry as MapPoint, vp.TargetScale / 2); await Form.MyMapView.SetViewpointAsync(nvp); } catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex.ToString(), System.Reflection.Assembly.GetExecutingAssembly().FullName); } }
... View more
12-05-2017
07:04 AM
|
0
|
2
|
1529
|
|
POST
|
I am trying to implement on my runtime application previous/next extent functionality like in ArcMap or ArcGIS Pro using ViewpointChanged event but on each action with viewpoint changing (zooming, panning and etc.) I get more than one event. How can I check is it last event for current action?
... View more
12-05-2017
06:42 AM
|
0
|
4
|
1735
|
|
POST
|
Hi Colin, We are using UniqueValues, min, max. Please accelerate exposing of this functionality
... View more
11-29-2017
05:39 AM
|
0
|
0
|
3033
|
|
POST
|
Hi, I have found that it works with geoprocessing package made with ArcMap 10.3.1, but does not work with ArcGIS Pro package and ArcMap 10.5.1 package. ArcMap 10.5.1 geoprocesing sharing tool does not have "Support ArcGIS Runtime" checkbox. Geoprocessing option in "ArcGISLocalServer.AGSDeployment" file must be set to "true". I have checked only loading of geoprocessing service but I hope that calculation will work too.
... View more
11-13-2017
12:23 AM
|
0
|
2
|
2237
|
|
POST
|
Hi, I have enabled geoprocessing as you suggested, but result is the same: I have a few questions about deployment file. That file is located in my ArcGIS Runtime excutable folder. How can I change it after end of development when I will start to build deployment pack? Or it will be taken from my executable folder? Second question is about geoprocessing child packages. They all are set to “false”. How I can detect which child package must be set to “true”?
... View more
11-12-2017
11:02 PM
|
0
|
0
|
2237
|
|
POST
|
Hi Cristian, Have you solved your problem with geoprocessing? I have the same problem as you.
... View more
11-08-2017
05:53 AM
|
0
|
0
|
2237
|
|
POST
|
Hi Max, I thought about TabControl too, but WPF inspector shows different: I send you view of my work results with ListBox: Stackoverflow.com rules ☺ Best regards, Gintautas
... View more
11-06-2017
03:22 AM
|
1
|
1
|
4759
|
|
POST
|
Hi Max, I had the same task few months ago. As I know there is no style exposed to public, but you can make it by yourself. This is a listbox with separators and horizontal items placement. You can find some solutions on the internet. After you can tune your solution using WPF inspector or Snoop which lets you to look inside wpf based application UI. You can find font information, triggers and other useful information. It would be nice to have exposed to public that listbox style for future compatibility.
... View more
11-05-2017
11:09 PM
|
0
|
3
|
4759
|
|
POST
|
Hi Jana, I have the same issue but with ".geodatabase" file. I have tried to load the same data and it worked from Runtime samples code, but did not work from my. I found that my application is UWP and sample application is WPF. I have generated new ArcGIS Runtime for WPF application, pasted my code and it worked. I am new to ArcGIS Runtime too, but I haven't found that you can load ".gdb" databases to Runtime application. I have made my ".geodatabase" file from ArcMap. At startup I have got errors like you, but I checked and eliminated errors.
... View more
10-31-2017
04:17 AM
|
0
|
0
|
1159
|
|
POST
|
Sorry, it must be "MINIMUM" value for parameter not "MIN". It was parameter name in the original code. After pasting code I have changed to "MIN".
... View more
10-06-2017
06:48 AM
|
0
|
0
|
4472
|
|
POST
|
I have wrote that is a part of code You need to organize all async/wait things and etc. "raster" parameter could be RasterLayer or raster path (string). I could. send you more code, but there are snippets on executing geoprocessing from ArcGIS Pro like this https://github.com/Esri/arcgis-pro-sdk/wiki/ProSnippets-Geoprocessing.
... View more
10-06-2017
06:36 AM
|
0
|
1
|
4472
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 1 | 3 weeks ago | |
| 1 | a month ago | |
| 1 | a month ago | |
| 1 | 12-02-2025 11:07 PM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|