DocumentViewOptions Property
Provides options to control how the document is displayed in Microsoft Word.

Namespace: Aspose.Words
Assembly: Aspose.Words (in Aspose.Words.dll) Version: 19.9
Syntax
public ViewOptions ViewOptions { get; }

Property Value

Type: ViewOptions
Examples
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(ArtifactsDir + "Document.SetZoom.doc");
See Also