ZoomType

Inheritance: java.lang.Object

public class ZoomType

Possible values for how large or small the document appears on the screen in Microsoft Word.

Fields

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

Methods

MethodDescription
fromName(String zoomTypeName)
getName(int zoomType)
getValues()
toString(int zoomType)

CUSTOM

public static int CUSTOM

Zoom percentage is set explicitly. It is not recalculated automatically when control size changes.

FULL_PAGE

public static int FULL_PAGE

Zoom percentage is automatically recalculated to fit one full page.

NONE

public static int NONE

Indicates to use the explicit zoom percentage. Same as CUSTOM.

PAGE_WIDTH

public static int PAGE_WIDTH

Zoom percentage is automatically recalculated to fit page width.

TEXT_FIT

public static int TEXT_FIT

Zoom percentage is automatically recalculated to fit text.

length

public static int length

fromName(String zoomTypeName)

public static int fromName(String zoomTypeName)

Parameters:

ParameterTypeDescription
zoomTypeNamejava.lang.String

Returns: int

getName(int zoomType)

public static String getName(int zoomType)

Parameters:

ParameterTypeDescription
zoomTypeint

Returns: java.lang.String

getValues()

public static int[] getValues()

Returns: int[]

toString(int zoomType)

public static String toString(int zoomType)

Parameters:

ParameterTypeDescription
zoomTypeint

Returns: java.lang.String