DocumentOriginalLoadFormat Property

Gets the format of the original document that was loaded into this object.

Namespace:  Aspose.Words
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.9.0


public LoadFormat OriginalLoadFormat { get; }

Property Value

Type: LoadFormat


If you created a new blank document, returns the Doc value.


Shows how to retrieve details of a document's load operation.
Document doc = new Document(MyDir + "Document.docx");

Assert.AreEqual(MyDir + "Document.docx", doc.OriginalFileName);
Assert.AreEqual(LoadFormat.Docx, doc.OriginalLoadFormat);

See Also