The Aspose.Words.Document class is used to load a Word document in Aspose.Words. Here is an example of how to load a document using this class:

// Load the Word document
Aspose.Words.Document document = new Aspose.Words.Document("input.docx");

In this example, the input.docx file is loaded into an instance of the Aspose.Words.Document class named document. You can replace "input.docx" with the path to your own Word document file.

After loading the document, you can perform various operations on it, such as modifying the document content, extracting data, saving it to a different format, etc.

AsposeWordsDocument load

原文地址: https://www.cveoy.top/t/topic/jdVU 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录