WordsPageNumberLocation

Inheritance: java.lang.Object, java.lang.Enum

public enum WordsPageNumberLocation extends Enum<WordsPageNumberLocation>

Controls whether to forcibly apply page numbering to the loaded WordProcessing document and, if yes, where to place page numbers.

Fields

Field Description
NOT_APPLY Leave the loaded WordProcessing document intact.
TOP_LEFT Put the page number in the top left corner of the page.
TOP_CENTER Put the page number in the top center of the page.
TOP_RIGHT Put the page number in the top right corner of the page.
BOTTOM_LEFT Put the page number in the bottom left corner of the page.
BOTTOM_CENTER Put the page number in the bottom center of the page.
BOTTOM_RIGHT Put the page number in the bottom right corner of the page.

Methods

Method Description
values()
valueOf(String name)

NOT_APPLY

public static final WordsPageNumberLocation NOT_APPLY

Leave the loaded WordProcessing document intact. Default value.

TOP_LEFT

public static final WordsPageNumberLocation TOP_LEFT

Put the page number in the top left corner of the page.

TOP_CENTER

public static final WordsPageNumberLocation TOP_CENTER

Put the page number in the top center of the page.

TOP_RIGHT

public static final WordsPageNumberLocation TOP_RIGHT

Put the page number in the top right corner of the page.

BOTTOM_LEFT

public static final WordsPageNumberLocation BOTTOM_LEFT

Put the page number in the bottom left corner of the page.

BOTTOM_CENTER

public static final WordsPageNumberLocation BOTTOM_CENTER

Put the page number in the bottom center of the page.

BOTTOM_RIGHT

public static final WordsPageNumberLocation BOTTOM_RIGHT

Put the page number in the bottom right corner of the page.

values()

public static WordsPageNumberLocation[] values()

Returns: com.groupdocs.viewer.options.WordsPageNumberLocation[]

valueOf(String name)

public static WordsPageNumberLocation valueOf(String name)

Parameters:

Parameter Type Description
name java.lang.String

Returns: WordsPageNumberLocation