You can control a document's view when it is opened in Microsoft Word. For example, you may want to switch to the print layout or change the zoom value. Use the ViewOptions property of the Document object to set the view options.
Example SetZoom
The following code shows how to make sure the document is displayed at 50% zoom when opened in Microsoft Word.
[C#]
Document doc = new Document(MyDir + "Document.doc");
doc.ViewOptions.ViewType = ViewType.PageLayout;
doc.ViewOptions.ZoomPercent = 50;
doc.Save(MyDir + "Document.SetZoom Out.doc");
[Visual Basic]
Dim doc As Document = New Document(MyDir & "Document.doc")
doc.ViewOptions.ViewType = ViewType.PageLayout
doc.ViewOptions.ZoomPercent = 50
doc.Save(MyDir & "Document.SetZoom Out.doc")
[Java]
Document doc = new Document(getMyDir() + "Document.doc");
doc.getViewOptions().setViewType(ViewType.PAGE_LAYOUT);
doc.getViewOptions().setZoomPercent(50);
doc.save(getMyDir() + "Document.SetZoom Out.doc");