ViewType

Overview

ViewType is an enum in Aspose.Words FOSS for Java.

Possible values for the view mode in Microsoft Word.

Edition status of its 11 listed members (a property and its accessor methods are listed separately, overloads once): 11 not yet exercised by a verified example.

This enum declares 4 methods for ViewType objects in Java programs. Available methods include: fromName, getName, getValues, toString. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: values.

Values

ValueDescription
NONEThe document shall be rendered in the default view of the application.
READINGThe document shall be rendered in the default view of the application.
PAGE_LAYOUTThe document shall be opened in a view that displays the document as it will print.
OUTLINEThe document shall be rendered in a view optimized for outlining or creating long documents.
NORMALThe document shall be rendered in a view optimized for outlining or creating long documents.
WEBThe document shall be rendered in a view mimicking the way this document would be displayed in a web page.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of ViewType values.

Methods

SignatureDescription
getName(viewType: int) → StringReturns JAVA_STYLE string representation of integer ViewType value.
toString(viewType: int) → StringReturns DotNetStyle string representation of integer ViewType value.
fromName(viewTypeName: String) → intReturns integer representation by ViewType name.
getValues() → int[]Returns array of ViewType values.

See Also