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
| Value | Description |
|---|---|
NONE | The document shall be rendered in the default view of the application. |
READING | The document shall be rendered in the default view of the application. |
PAGE_LAYOUT | The document shall be opened in a view that displays the document as it will print. |
OUTLINE | The document shall be rendered in a view optimized for outlining or creating long documents. |
NORMAL | The document shall be rendered in a view optimized for outlining or creating long documents. |
WEB | The document shall be rendered in a view mimicking the way this document would be displayed in a web page. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of ViewType values. |
Methods
| Signature | Description |
|---|---|
getName(viewType: int) → String | Returns JAVA_STYLE string representation of integer ViewType value. |
toString(viewType: int) → String | Returns DotNetStyle string representation of integer ViewType value. |
fromName(viewTypeName: String) → int | Returns integer representation by ViewType name. |
getValues() → int[] | Returns array of ViewType values. |