com.groupdocs.conversion.options.save

Class WordsSaveOptions

  • All Implemented Interfaces:
    com.aspose.ms.System.ICloneable, Cloneable


    public final class WordsSaveOptions
    extends SaveOptions

    Options for to Word conversion

    • Constructor Detail

      • WordsSaveOptions

        public WordsSaveOptions()

        Create WordsSaveOptions instance

    • Method Detail

      • getConvertFileType

        public final long getConvertFileType()

        The desired file type to which the input document should be converted to

        Overrides:
        getConvertFileType in class SaveOptions
        Returns:
      • setConvertFileType

        public final void setConvertFileType(long value)

        The desired file type to which the input document should be converted to

        Overrides:
        setConvertFileType in class SaveOptions
        Parameters:
        value -
      • getWidth

        public final int getWidth()

        Desired page width after conversion

        Returns:
      • setWidth

        public final void setWidth(int value)

        Desired page width after conversion

        Parameters:
        value -
      • getHeight

        public final int getHeight()

        Desired page height after conversion

        Returns:
      • setHeight

        public final void setHeight(int value)

        Desired page height after conversion

        Parameters:
        value -
      • getDpi

        public final double getDpi()

        Desired page DPI after conversion. The default resolution is: 96dpi

        Returns:
      • setDpi

        public final void setDpi(double value)

        Desired page DPI after conversion. The default resolution is: 96dpi

        Parameters:
        value -
      • getPassword

        public final String getPassword()

        Set this property if you want to protect the converted document with a password

        Returns:
      • setPassword

        public final void setPassword(String value)

        Set this property if you want to protect the converted document with a password

        Parameters:
        value -
      • getRtfOptions

        public final com.groupdocs.conversion.options.save.RtfOptions getRtfOptions()

        RTF specific convert options

        Returns:
      • setRtfOptions

        public final void setRtfOptions(com.groupdocs.conversion.options.save.RtfOptions value)

        RTF specific convert options

        Parameters:
        value -
      • getZoom

        public final int getZoom()

        Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Word 2010. Starting from Microsoft Word 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.

        Returns:
      • setZoom

        public final void setZoom(int value)

        Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Word 2010. Starting from Microsoft Word 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.

        Parameters:
        value -