com.groupdocs.comparison.common

Class ImageOptions



  • public class ImageOptions
    extends Object

    Allows to specify additional options when rendering document pages to images

    • Constructor Detail

      • ImageOptions

        public ImageOptions()

        Initialize a new instance of ImageOptions class

      • ImageOptions

        public ImageOptions(int numOfPages,
                    int pageNumber,
                    String password)

        Initialize a new instance of ImageOptions class that can be used to save rendered images in F:System.Drawing.Imaging.Png format.

        Parameters:
        numOfPages - Number of Pages to Convert
        pageNumber - Page Number
        password - Password of Document
    • Method Detail

      • getCountPagesToConvert

        public final int getCountPagesToConvert()

        Get or set the number of pages

      • getImageFormat

        public final String getImageFormat()

        Get the format of the Image

      • getImageFormatMs

        public final com.aspose.ms.System.Drawing.Imaging.ImageFormat getImageFormatMs()
      • getPageNumber

        public final int getPageNumber()

        Get or set the page number

      • getPageNumbersToConvert

        public final List<Integer> getPageNumbersToConvert()

        Get or set the pages to convert

      • getPassword

        public final String getPassword()

        Get or Set document's password

      • setCountPagesToConvert

        public final void setCountPagesToConvert(int value)

        Get or set the number of pages

      • setPageNumber

        public final void setPageNumber(int value)

        Get or set the page number

      • setPageNumbersToConvert

        public final void setPageNumbersToConvert(List<Integer> value)

        Get or set the pages to convert

      • setPassword

        public final void setPassword(String value)

        Get or Set document's password