ZoomType
Overview
ZoomType is an enum in Aspose.Words FOSS for Java.
Possible values for how large or small the document appears on the screen in Microsoft Word.
Edition status of its 10 listed members (a property and its accessor methods are listed separately, overloads once): 10 not yet exercised by a verified example.
This enum declares 4 methods for ZoomType 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 |
|---|---|
CUSTOM | Zoom percentage is set explicitly. |
NONE | Indicates to use the explicit zoom percentage. |
FULL_PAGE | Zoom percentage is automatically recalculated to fit one full page. |
PAGE_WIDTH | Zoom percentage is automatically recalculated to fit page width. |
TEXT_FIT | Zoom percentage is automatically recalculated to fit text. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of ZoomType values. |
Methods
| Signature | Description |
|---|---|
getName(zoomType: int) → String | Returns JAVA_STYLE string representation of integer ZoomType value. |
toString(zoomType: int) → String | Returns DotNetStyle string representation of integer ZoomType value. |
fromName(zoomTypeName: String) → int | Returns integer representation by ZoomType name. |
getValues() → int[] | Returns array of ZoomType values. |