ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core Namespace / DownloadOptions Class / OfflineMapsToProjectLocation Property
Version

OfflineMapsToProjectLocation Property
Gets and sets the 'Download maps to the project's home folder' option for offline maps.
Syntax
public bool OfflineMapsToProjectLocation {get; set;}
Remarks
Setting this property to true automatically clears out the OfflineMapsLocation property and sets the AskForOfflineMapsLocation property to false.
This property is automatically set to false if the OfflineMapsLocation property is set or AskForOfflineMapsLocation is set to true.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also