SwapOptions

Inheritance: java.lang.Object

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

public class SwapOptions implements ISwapOptions

Provides options for swapping document pages.

Constructors

Constructor Description
SwapOptions(int firstPageNumber, int secondPageNumber) Initializes a new instance of the SwapOptions class.

Methods

Method Description
getFirstPageNumber() First page number to exchange.
getSecondPageNumber() Second page number to exchange.

SwapOptions(int firstPageNumber, int secondPageNumber)

public SwapOptions(int firstPageNumber, int secondPageNumber)

Initializes a new instance of the SwapOptions class.

Parameters:

Parameter Type Description
firstPageNumber int The first page number.
secondPageNumber int The second page number.

getFirstPageNumber()

public final int getFirstPageNumber()

First page number to exchange.

Returns: int

getSecondPageNumber()

public final int getSecondPageNumber()

Second page number to exchange.

Returns: int