Aspose::Words::Document::get_OriginalLoadFormat method
Document::get_OriginalLoadFormat method
Gets the format of the original document that was loaded into this object.
Aspose::Words::LoadFormat Aspose::Words::Document::get_OriginalLoadFormat() const
Remarks
If you created a new blank document, returns the Doc value.
Examples
Shows how to retrieve details of a document’s load operation.
auto doc = MakeObject<Document>(MyDir + u"Document.docx");
ASSERT_EQ(MyDir + u"Document.docx", doc->get_OriginalFileName());
ASSERT_EQ(LoadFormat::Docx, doc->get_OriginalLoadFormat());
See Also
- Enum LoadFormat
- Class Document
- Namespace Aspose::Words
- Library Aspose.Words for C++