public void OpenFromFile()
{
//ExStart
//ExFor:Document.#ctor(String)
//ExId:OpenFromFile
//ExSummary:Opens a document from a file.
// Open a document. The file is opened read only and only for the duration of the constructor.
Document doc = new Document(MyDir + "Document.doc");
//ExEnd
//ExStart
//ExFor:Document.Save(String)
//ExId:SaveToFile
//ExSummary:Saves a document to a file.
doc.Save(MyDir + @"\Artifacts\Document.OpenFromFile.doc");
//ExEnd
}