com.groupdocs.conversion.options.convert

Class MarkupConvertOptions

    • Constructor Detail

      • MarkupConvertOptions

        public MarkupConvertOptions()

        Initializes new instance of MarkupConvertOptions class.

    • Method Detail

      • getUsePdf

        public final boolean getUsePdf()

        If true, the input firstly is converted to PDF and after that to desired format

      • setUsePdf

        public final void setUsePdf(boolean value)

        If true, the input firstly is converted to PDF and after that to desired format

      • getFixedLayout

        public final boolean getFixedLayout()

        If true fixed layout will be used e.g. absolutely positioned html elements Default: true

      • setFixedLayout

        public final void setFixedLayout(boolean value)

        If true fixed layout will be used e.g. absolutely positioned html elements Default: true

      • getZoom

        public final int getZoom()

        Specifies the zoom level in percentage. Default is 100.

      • setZoom

        public final void setZoom(int value)

        Specifies the zoom level in percentage. Default is 100.

      • getPageNumber

        public Integer getPageNumber()
        Gets the page number to start conversion from.
        Specified by:
        getPageNumber in interface IPagedConvertOptions
        Returns:
        The page number to start conversion from.
      • setPageNumber

        public void setPageNumber(int pageNumber)
        Sets the page number to start conversion from.
        Specified by:
        setPageNumber in interface IPagedConvertOptions
        Parameters:
        pageNumber - The page number to start conversion from.
      • getPagesCount

        public Integer getPagesCount()
        Gets number of pages to convert starting from PageNumber.
        Specified by:
        getPagesCount in interface IPagedConvertOptions
        Returns:
        Number of pages to convert starting from PageNumber.
      • setPagesCount

        public void setPagesCount(int pagesCount)
        Sets number of pages to convert starting from PageNumber.
        Specified by:
        setPagesCount in interface IPagedConvertOptions
        Parameters:
        pagesCount - Number of pages to convert starting from PageNumber.
      • getPages

        public List<Integer> getPages()
        Gets The list of page indexes to be converted. Should be specified to convert specific pages.
        Specified by:
        getPages in interface IPageRangedConvertOptions
        Returns:
        The list of page indexes to be converted. Should be specified to convert specific pages.
      • setPages

        public void setPages(List<Integer> pages)
        Sets the list of page indexes to be converted. Should be specified to convert specific pages.
        Specified by:
        setPages in interface IPageRangedConvertOptions
        Parameters:
        pages - The list of page indexes to be converted. Should be specified to convert specific pages.