com.groupdocs.viewer.domain.options

Class PdfFileOptions



  • public class PdfFileOptions
    extends Object

    Class PdfFileOptions.

    Version:
    17.5.1
    Author:
    GroupDocs.Viewer Team
    • Constructor Detail

      • PdfFileOptions

        public PdfFileOptions()

        Initializes a new instance of the PdfFileOptions class.

      • PdfFileOptions

        public PdfFileOptions(int transformations)

        Initializes a new instance of the PdfFileOptions class.

        Parameters:
        transformations - The desired transformations.
      • PdfFileOptions

        public PdfFileOptions(Watermark watermark)

        Initializes a new instance of the PdfFileOptions class.

        Parameters:
        watermark - The watermark.
      • PdfFileOptions

        public PdfFileOptions(int transformations,
                      Watermark watermark)

        Initializes a new instance of the PdfFileOptions class.

        Parameters:
        transformations - The desired transformations.
        watermark - The watermark
      • PdfFileOptions

        public PdfFileOptions(String password)

        Initializes a new instance of the PdfFileOptions class.

        Parameters:
        password - The file password.
      • PdfFileOptions

        public PdfFileOptions(String password,
                      int transformations)

        Initializes a new instance of the PdfFileOptions class.

        Parameters:
        password - The file password.
        transformations - The desired transformations.
      • PdfFileOptions

        public PdfFileOptions(String password,
                      Watermark watermark)

        Initializes a new instance of the PdfFileOptions class.

        Parameters:
        password - The file password.
        watermark - The watermark.
      • PdfFileOptions

        public PdfFileOptions(String password,
                      int transformations,
                      Watermark watermark)

        Initializes a new instance of the PdfFileOptions class.

        Parameters:
        password - The file password.
        transformations - The desired transformations.
        watermark - The watermark
    • Method Detail

      • getPassword

        public String getPassword()

        The password.

        Returns:
        the password
      • setPassword

        public void setPassword(String value)

        The password.

        Parameters:
        value - the value
      • getJpegQuality

        public int getJpegQuality()

        Gets the quality of the jpeg images contained in resulting pdf documents. Valid values are between 1 and 100. Default value is 90.

        This property affects the size of resulting pdf document and the quality of jpeg images contained in it.
        Returns:
        a int.
      • setJpegQuality

        public void setJpegQuality(int value)

        Sets the quality of the jpeg images contained in resulting pdf documents. Valid values are between 1 and 100. Default value is 90.

        This property affects the size of resulting pdf document and the quality of jpeg images contained in it.
        Parameters:
        value - a int.
      • getRenderComments

        public boolean getRenderComments()

        Indicates whether comments should be rendered. Default value is false

        Returns:
        a boolean.
      • setRenderComments

        public void setRenderComments(boolean value)

        Indicates whether comments should be rendered. Default value is false

        Parameters:
        value - a boolean.
      • getWatermark

        public Watermark getWatermark()

        The watermark.

        Returns:
        the watermark
      • setWatermark

        public void setWatermark(Watermark value)

        The watermark.

        Parameters:
        value - the value
      • getTransformations

        public int getTransformations()

        Gets desired transformations, the default value is None

        Returns:
        the transformations
      • setTransformations

        public void setTransformations(int value)
        Sets transformations.
        Parameters:
        value - the value
      • getCellsOptions

        public CellsOptions getCellsOptions()

        Gets cells options.

        Returns:
        the cells options
      • setCellsOptions

        public void setCellsOptions(CellsOptions value)

        Sets cells options.

        Parameters:
        value - the value
      • setDiagramOptions

        public void setDiagramOptions(DiagramOptions value)

        Sets Diagram options.

        Parameters:
        value - a DiagramOptions object.
      • getEmailOptions

        public EmailOptions getEmailOptions()

        Gets email options.

        Returns:
        the email options
      • setEmailOptions

        public void setEmailOptions(EmailOptions value)

        Sets Words options.

        Parameters:
        value - the value
      • getWordsOptions

        public WordsOptions getWordsOptions()

        Gets Words options.

        Returns:
        the words options
      • setWordsOptions

        public void setWordsOptions(WordsOptions value)

        Sets email options.

        Parameters:
        value - the value
      • setPdfOptions

        public void setPdfOptions(PdfOptions value)

        Sets PDF options.

        Parameters:
        value - a PdfOptions object.
      • setCadOptions

        public void setCadOptions(CadOptions value)

        Sets Cad options.

        Parameters:
        value - a CadOptions object.