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

ValueDescription
CUSTOMZoom percentage is set explicitly.
NONEIndicates to use the explicit zoom percentage.
FULL_PAGEZoom percentage is automatically recalculated to fit one full page.
PAGE_WIDTHZoom percentage is automatically recalculated to fit page width.
TEXT_FITZoom percentage is automatically recalculated to fit text.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of ZoomType values.

Methods

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

See Also