com.groupdocs.viewer.options

Class ViewOptions

    • Constructor Detail

      • ViewOptions

        public ViewOptions()
    • Method Detail

      • rotatePage

        public final void rotatePage(int pageNumber,
                      int rotation)

        Applies clockwise rotation to the page.

        Parameters:
        pageNumber - The page number.
        rotation - The rotation value.
        Throws:
        IllegalArgumentException - Thrown when pageNumber is less or equal to zero.
        IllegalArgumentException - Thrown when rotation for the page with number pageNumber was already added.