[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.GcWordDocument.Path

Path Property

Path

Gets or sets the source file path of the document.

This property is updated automatically when the document is loaded or saved using the Load(string) or Save(string, DocumentType) methods.

The value is used to resolve relative paths referenced within document fields. If the document is loaded from a Stream via Load(Stream), make sure to set this property manually so that relative paths can be resolved correctly.

Declaration
public string Path { get; set; }
Public Property Path As String