ArcGIS Pro 2.9 API Reference Guide
GetCanExportRasterTileCache Method

ArcGIS.Desktop.Mapping.Offline Namespace > GenerateOfflineMap Class : GetCanExportRasterTileCache Method
The map to check for raster tile cache content
Gets whether the map contains one or more raster tile caches that can be exported. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public bool GetCanExportRasterTileCache( 
   Map map
)
Public Function GetCanExportRasterTileCache( _
   ByVal map As Map _
) As Boolean

Parameters

map
The map to check for raster tile cache content

Return Value

True if the map contains any tiled map or image services
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
The value of the map parameter cannot be null
Remarks
Raster tile caches include tiled map services and image services
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

GenerateOfflineMap Class
GenerateOfflineMap Members