com.groupdocs.merger.domain.options

Class SwapOptions



  • public class SwapOptions
    extends Options

    Describes options for swapping 2 pages in a document.

    <inheritdoc></inheritdoc>
    See Also:
    ##GroupDocs#Merger#Domain#Options
    • Constructor Detail

      • SwapOptions

        public SwapOptions(int firstPageNumber,
                   int secondPageNumber,
                   long fileFormat,
                   String password)

        Initializes a new instance of the SwapOptions class.

        Parameters:
        firstPageNumber - The first page number.
        secondPageNumber - The second page number.
        fileFormat - The file format.
        password - The password. <inheritdoc></inheritdoc>
    • Method Detail

      • getFirstPageNumber

        public final int getFirstPageNumber()

        First page number to exchange.

      • getSecondPageNumber

        public final int getSecondPageNumber()

        Second page number to exchange.

      • setFirstPageNumber

        public final void setFirstPageNumber(int value)

        First page number to exchange.

      • setSecondPageNumber

        public final void setSecondPageNumber(int value)

        Second page number to exchange.