ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / IMapFactory Interface / CanCreateMapFrom Method
An ArcGIS.Desktop.Core.Item.
Version

CanCreateMapFrom Method (IMapFactory)
Determines whether a map can be created from an Item.
Syntax
bool CanCreateMapFrom( 
   Item item
)

Parameters

item
An ArcGIS.Desktop.Core.Item.

Return Value

A boolean indicates that a map can be created from the item.
Remarks
You should use this method before passing an item to the MapFactory.CreateMapFromItem() method.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also