ArcGIS Pro 2.7 API Reference Guide
CreateBookmarkMapSeries Method

ArcGIS.Desktop.Layouts Namespace > MapSeries Class : CreateBookmarkMapSeries Method
The Layout you will ultimately apply the map series.
The MapFrame that contains the index layer.
Creates a bookmark map series. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public static BookmarkMapSeries CreateBookmarkMapSeries( 
   Layout layout,
   MapFrame mapFrame
)
Public Shared Function CreateBookmarkMapSeries( _
   ByVal layout As Layout, _
   ByVal mapFrame As MapFrame _
) As BookmarkMapSeries

Parameters

layout
The Layout you will ultimately apply the map series.
mapFrame
The MapFrame that contains the index layer.

Return Value

Exceptions
ExceptionDescription
This method must be called within the lambda passed to QueuedTask.Run.
Remarks
This method allows you to create a new bookmark map series using a minimum number of required paramters. It returns a CIMBookmarkMapSeries object that can be further modified using fine grained properties. To apply the changes to the layout, use the SetMapSeries() method.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

MapSeries Class
MapSeries Members