Using document As WordprocessingDocument = Private Const FILENAME As String = "DocumentProperties.docx" WordprocessingDocument.Open(FILENAME, false)) const string FILENAME = "DocumentProperties.docx" To do this, you must first get a reference to the document, as shown in the following code. To retrieve application document properties, you can retrieve the ExtendedFilePropertiesPart property of a WordprocessingDocument object, and then retrieve the specific application property you need.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |