public class RotateOptions extends PageOptions implements IRotateOptions
Provides options for the page rotation.
Constructor and 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. |
Modifier and Type | Method and Description |
---|---|
int |
getMode()
Gets the mode for rotating (90, 180 or 270 degrees).
|
pages
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPages
public RotateOptions(int rotateMode)
Initializes a new instance of the RotateOptions
class.
rotateMode
- The rotating mode of Mode
(getMode()
/setMode(int)
)public RotateOptions(int rotateMode, int[] pageNumbers)
Initializes a new instance of the RotateOptions
class.
rotateMode
- The rotating mode of Mode
(getMode()
/setMode(int)
)pageNumbers
- Page numbers.public RotateOptions(int rotateMode, int startNumber, int endNumber) throws Exception
Initializes a new instance of the RotateOptions
class.
rotateMode
- The rotating mode of Mode
(getMode()
/setMode(int)
)startNumber
- The start page number.endNumber
- The end page number.Exception
public RotateOptions(int rotateMode, int startNumber, int endNumber, int mode) throws Exception
Initializes a new instance of the RotateOptions
class.
rotateMode
- The rotating mode of Mode
(getMode()
/setMode(int)
)startNumber
- The start page number.endNumber
- The end page number.mode
- The range mode.Exception
public final int getMode()
Gets the mode for rotating (90, 180 or 270 degrees).
getMode
in interface IRotateOptions