ArcGIS Pro 3.4 API Reference Guide
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.

In This Topic
    Create(IEnumerable<Layer>,Envelope,MapViewingMode) Method
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also