ArcGIS Pro 2.8 API Reference Guide
Create(IEnumerable<Layer>,Envelope,MapViewingMode) Method

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

Parameters

layers
The Layers for the MapControl.
initialExtent
The initial extent of the MapControl.
viewingMode
The ViewingMode of the MapControl.

Return Value

The MapControlContent for the MapControl.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

MapControlContentFactory Class
MapControlContentFactory Members
Overload List