RotateOptions

Inheritance: java.lang.Object, com.groupdocs.merger.domain.options.PageOptions

All Implemented Interfaces: com.groupdocs.merger.domain.options.interfaces.IRotateOptions

public class RotateOptions extends PageOptions implements IRotateOptions

Provides options for the page rotation.

Constructors

Constructor Description
RotateOptions(int rotateMode) Initializes a new instance of the RotateOptions class.
RotateOptions(int rotateMode, int[] pageNumbers) Initializes a new instance of the RotateOptions class.
RotateOptions(int rotateMode, int startNumber, int endNumber) Initializes a new instance of the RotateOptions class.
RotateOptions(int rotateMode, int startNumber, int endNumber, int mode) Initializes a new instance of the RotateOptions class.

Methods

Method Description
getMode() Gets the mode for rotating (90, 180 or 270 degrees).

RotateOptions(int rotateMode)

public RotateOptions(int rotateMode)

Initializes a new instance of the RotateOptions class.

Parameters:

Parameter Type Description
rotateMode int The rotating mode of Mode (#getMode.getMode/#setMode(int).setMode(int))

RotateOptions(int rotateMode, int[] pageNumbers)

public RotateOptions(int rotateMode, int[] pageNumbers)

Initializes a new instance of the RotateOptions class.

Parameters:

Parameter Type Description
rotateMode int The rotating mode of Mode (#getMode.getMode/#setMode(int).setMode(int))
pageNumbers int[] Page numbers.

RotateOptions(int rotateMode, int startNumber, int endNumber)

public RotateOptions(int rotateMode, int startNumber, int endNumber)

Initializes a new instance of the RotateOptions class.

Parameters:

Parameter Type Description
rotateMode int The rotating mode of Mode (#getMode.getMode/#setMode(int).setMode(int))
startNumber int The start page number.
endNumber int The end page number.

RotateOptions(int rotateMode, int startNumber, int endNumber, int mode)

public RotateOptions(int rotateMode, int startNumber, int endNumber, int mode)

Initializes a new instance of the RotateOptions class.

Parameters:

Parameter Type Description
rotateMode int The rotating mode of Mode (#getMode.getMode/#setMode(int).setMode(int))
startNumber int The start page number.
endNumber int The end page number.
mode int The range mode.

getMode()

public final int getMode()

Gets the mode for rotating (90, 180 or 270 degrees).

Returns: int