I’m trying to get a hook in to map series with the ArcGIS Pro SDK... have an existing Pro project with map series enabled and wanted to programmatically get/set CurrentPageID.
...looking for a code snippet.
ArcGIS Pro 1.4 API Reference Guide
using ArcGIS.Core.CIM;
....
CIMPage page = layout.GetPage(); // this works great..
CIMLayout cimLayout = layoutItem.GetLayout(); // cant seem to figure out how to initialize ..
var mapid = cimLayout.MapSeries.CurrentPageID
Solved! Go to Solution.
CIMLayout will be available in a later release, scheduled for 2.0 of Pro SDK.
CIMLayout will be available in a later release, scheduled for 2.0 of Pro SDK.