OrientationOptions
Contents
[
Hide
]
Inheritance: java.lang.Object, com.groupdocs.merger.domain.options.PageOptions
All Implemented Interfaces: com.groupdocs.merger.domain.options.interfaces.IOrientationOptions
public class OrientationOptions extends PageOptions implements IOrientationOptions
Provides options for the page orientation.
Constructors
Constructor | 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. |
Methods
Method | Description |
---|---|
getMode() | Gets the mode for the page orientation. |
OrientationOptions(int orientationMode)
public OrientationOptions(int orientationMode)
Initializes a new instance of the OrientationOptions class.
Parameters:
Parameter | Type | Description |
---|---|---|
orientationMode | int | The orientation mode of OrientationMode |
OrientationOptions(int orientationMode, int[] pageNumbers)
public OrientationOptions(int orientationMode, int[] pageNumbers)
Initializes a new instance of the OrientationOptions class.
Parameters:
Parameter | Type | Description |
---|---|---|
orientationMode | int | The orientation mode of OrientationMode |
pageNumbers | int[] | Page numbers. |
OrientationOptions(int orientationMode, int startNumber, int endNumber)
public OrientationOptions(int orientationMode, int startNumber, int endNumber)
Initializes a new instance of the OrientationOptions class.
Parameters:
Parameter | Type | Description |
---|---|---|
orientationMode | int | The orientation mode of OrientationMode |
startNumber | int | The start page number. |
endNumber | int | The end page number. |
OrientationOptions(int orientationMode, int startNumber, int endNumber, int mode)
public OrientationOptions(int orientationMode, int startNumber, int endNumber, int mode)
Initializes a new instance of the OrientationOptions class.
Parameters:
Parameter | Type | Description |
---|---|---|
orientationMode | int | The orientation mode of OrientationMode |
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 the page orientation.
Returns: int