ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping.Controls Namespace / MapControlContentFactory Class / Create Method / Create(Map,Envelope,MapViewingMode) Method
The map for the MapControl.
The initial extent of the MapControl.
The ViewingMode of the MapControl.

In This Topic
    Create(Map,Envelope,MapViewingMode) Method
    In This Topic
    Create Map content for the MapControl.
    Syntax
    Public Overloads Shared Function Create( _
       ByVal map As Map, _
       ByVal initialExtent As Envelope, _
       ByVal viewingMode As MapViewingMode _
    ) As MapControlContent

    Parameters

    map
    The map 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