com.groupdocs.conversion.options.convert

Class WordProcessingConvertOptions

    • Constructor Detail

    • Method Detail

      • getWidth

        public final int getWidth()

        Desired page width after conversion.

      • setWidth

        public final void setWidth(int value)

        Desired page width after conversion.

      • getHeight

        public final int getHeight()

        Desired page height after conversion.

      • setHeight

        public final void setHeight(int value)

        Desired page height after conversion.

      • getDpi

        public final double getDpi()

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

      • setDpi

        public final void setDpi(double value)

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

      • getPassword

        public final String getPassword()

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

      • setPassword

        public final void setPassword(String value)

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

      • getRtfOptions

        public final RtfOptions getRtfOptions()

        RTF specific convert options

      • setRtfOptions

        public final void setRtfOptions(RtfOptions value)

        RTF specific convert options

      • 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.

      • 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.

      • getMarginTop

        public final int getMarginTop()

        Desired page top margin in pixels after conversion.

        Specified by:
        getMarginTop in interface com.groupdocs.conversion.options.convert.IPageMarginConvertOptions
      • setMarginTop

        public final void setMarginTop(int value)

        Desired page top margin in pixels after conversion.

        Specified by:
        setMarginTop in interface com.groupdocs.conversion.options.convert.IPageMarginConvertOptions
      • getMarginBottom

        public final int getMarginBottom()

        Desired page bottom margin in pixels after conversion.

        Specified by:
        getMarginBottom in interface com.groupdocs.conversion.options.convert.IPageMarginConvertOptions
      • setMarginBottom

        public final void setMarginBottom(int value)

        Desired page bottom margin in pixels after conversion.

        Specified by:
        setMarginBottom in interface com.groupdocs.conversion.options.convert.IPageMarginConvertOptions
      • getMarginLeft

        public final int getMarginLeft()

        Desired page left margin in pixels after conversion.

        Specified by:
        getMarginLeft in interface com.groupdocs.conversion.options.convert.IPageMarginConvertOptions
      • setMarginLeft

        public final void setMarginLeft(int value)

        Desired page left margin in pixels after conversion.

        Specified by:
        setMarginLeft in interface com.groupdocs.conversion.options.convert.IPageMarginConvertOptions
      • getMarginRight

        public final int getMarginRight()

        Desired page right margin in pixels after conversion.

        Specified by:
        getMarginRight in interface com.groupdocs.conversion.options.convert.IPageMarginConvertOptions
      • setMarginRight

        public final void setMarginRight(int value)

        Desired page right margin in pixels after conversion.

        Specified by:
        setMarginRight in interface com.groupdocs.conversion.options.convert.IPageMarginConvertOptions