ArcGIS Pro 2.9 API Reference Guide
OfflineMapsToProjectLocation Property

ArcGIS.Desktop.Core Namespace > DownloadOptions Class : OfflineMapsToProjectLocation Property
Gets and sets the 'Download maps to the project's home folder' option for offline maps.
Syntax
public bool OfflineMapsToProjectLocation {get; set;}
Public Property OfflineMapsToProjectLocation As Boolean
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, Windows 8.1

See Also

Reference

DownloadOptions Class
DownloadOptions Members