WPF : Read Data Frame height and width from code.

2434
1
10-27-2015 04:27 AM
TomasWoods
New Contributor

I am trying to create a WPF application that can read a print template mxd settings, specifically the data frame height and width.  Reading other forums it states that its not possible to load an mxd from WPF but was hoping that there was a way just to read the settings.

Any help appreciated.

0 Kudos
1 Reply
MichaelBranscomb
Esri Frequent Contributor

Hi,

We don't have any access to the MXD directly from the WPF API. You could take a look at this sample: ArcGIS Runtime SDK for WPF Samples which may help.

For a future release, we are investigating ways in which we can provide some access to MXDs via Geoprocessing in the LocalServer which would enable access to properties such as this. Note that any new functionality will be added to the more recent .NET API: ArcGIS Runtime SDK for .Net | ArcGIS for Developers

Cheers

Mike

0 Kudos