ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMDocumentInfo Class / UseRelativePath Property

UseRelativePath Property
Gets or sets a value indicating whether to save with relative paths. In typical Pro usage (e.g. saving projects or .lyrx files) this is set to true.
Syntax
public bool UseRelativePath {get; set;}
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also