public void SetZoom()
{
//ExStart
//ExFor:Document.ViewOptions
//ExFor:ViewOptions
//ExFor:ViewOptions.ViewType
//ExFor:ViewOptions.ZoomPercent
//ExFor:ViewType
//ExId:SetZoom
//ExSummary:The following code shows how to make sure the document is displayed at 50% zoom when opened in Microsoft Word.
Document doc = new Document(MyDir + "Document.doc");
doc.ViewOptions.ViewType = ViewType.PageLayout;
doc.ViewOptions.ZoomPercent = 50;
doc.Save(MyDir + @"\Artifacts\Document.SetZoom.doc");
//ExEnd
}