com.groupdocs.merger.domain.options

Class RotateOptions

    • Constructor Detail

      • RotateOptions

        public RotateOptions(int rotateMode)

        Initializes a new instance of the RotateOptions class.

        Parameters:
        rotateMode - The rotating mode of Mode(getMode()/setMode(int))
      • RotateOptions

        public RotateOptions(int rotateMode,
                     int[] pageNumbers)

        Initializes a new instance of the RotateOptions class.

        Parameters:
        rotateMode - The rotating mode of Mode(getMode()/setMode(int))
        pageNumbers - Page numbers.
      • RotateOptions

        public RotateOptions(int rotateMode,
                     int startNumber,
                     int endNumber)
                      throws Exception

        Initializes a new instance of the RotateOptions class.

        Parameters:
        rotateMode - The rotating mode of Mode(getMode()/setMode(int))
        startNumber - The start page number.
        endNumber - The end page number.
        Throws:
        Exception
      • RotateOptions

        public RotateOptions(int rotateMode,
                     int startNumber,
                     int endNumber,
                     int mode)
                      throws Exception

        Initializes a new instance of the RotateOptions class.

        Parameters:
        rotateMode - The rotating mode of Mode(getMode()/setMode(int))
        startNumber - The start page number.
        endNumber - The end page number.
        mode - The range mode.
        Throws:
        Exception
    • Method Detail

      • getMode

        public final int getMode()

        Gets the mode for rotating (90, 180 or 270 degrees).

        Specified by:
        getMode in interface IRotateOptions