ArcGIS Pro 2.6 API Reference Guide
Create(IEnumerable<Layer>,Camera,MapViewingMode) Method

ArcGIS.Desktop.Mapping.Controls Namespace > MapControlContentFactory Class > Create Method : Create(IEnumerable<Layer>,Camera,MapViewingMode) Method
The Layers for the MapControl.
The initial Camera of the MapControl.
The ViewingMode of the MapControl.
Create Layer content for the MapControl.
Syntax

Parameters

layers
The Layers for the MapControl.
initialCamera
The initial Camera of the MapControl.
viewingMode
The ViewingMode of the MapControl.

Return Value

The MapControlContent for the MapControl.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

MapControlContentFactory Class
MapControlContentFactory Members
Overload List