Introduced in build 4.1.0.1379
Description
Opens and returns an existing Document from a SharePoint Document Library.
C#
vb.net
Parameters
wordApplication
The current WordApplication object which is calling OpendocLib
SharePoint Document Library from which the file is being openedfileName
Filename of the document to open from the Document LibraryReturns
The document that is opened from the Document Library.Exceptions
System.Exception
Thrown if an error occurs while opening the document.Remarks
Though the WordTemplate object currently supports Office Open XML (Word 2007) format files, WordApplication.Open() does not yet support them.
Examples
C#
vb.net