public class OrientationOptions extends PageOptions implements IOrientationOptions
Provides options for the page orientation.
Constructor and Description |
---|
OrientationOptions(int orientationMode)
Initializes a new instance of the
OrientationOptions class. |
OrientationOptions(int orientationMode,
int[] pageNumbers)
Initializes a new instance of the
OrientationOptions class. |
OrientationOptions(int orientationMode,
int startNumber,
int endNumber)
Initializes a new instance of the
OrientationOptions class. |
OrientationOptions(int orientationMode,
int startNumber,
int endNumber,
int mode)
Initializes a new instance of the
OrientationOptions class. |
Modifier and Type | Method and Description |
---|---|
int |
getMode()
Gets the mode for the page orientation.
|
pages
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPages
public OrientationOptions(int orientationMode)
Initializes a new instance of the OrientationOptions
class.
orientationMode
- The orientation mode of OrientationMode
public OrientationOptions(int orientationMode, int[] pageNumbers)
Initializes a new instance of the OrientationOptions
class.
orientationMode
- The orientation mode of OrientationMode
pageNumbers
- Page numbers.public OrientationOptions(int orientationMode, int startNumber, int endNumber) throws Exception
Initializes a new instance of the OrientationOptions
class.
orientationMode
- The orientation mode of OrientationMode
startNumber
- The start page number.endNumber
- The end page number.Exception
public OrientationOptions(int orientationMode, int startNumber, int endNumber, int mode) throws Exception
Initializes a new instance of the OrientationOptions
class.
orientationMode
- The orientation mode of OrientationMode
startNumber
- The start page number.endNumber
- The end page number.mode
- The range mode.Exception
public final int getMode()
Gets the mode for the page orientation.
getMode
in interface IOrientationOptions