com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class PageSettings



  • public class PageSettings
    extends Object

    Represents printing settings for a page of project view.

    • Constructor Detail

      • PageSettings

        public PageSettings()
    • Method Detail

      • isPortrait

        public boolean isPortrait()

        Determines whether the page orientation is portrait; returns false if the page orientation is landscape.

        Returns:
        returns a flag which determines whether the page orientation is portrait; returns false if the page orientation is landscape.
      • setPortrait

        public void setPortrait(boolean value)

        Determines whether the page orientation is portrait; returns false if the page orientation is landscape.

        Parameters:
        value - a flag which determines whether the page orientation is portrait; returns false if the page orientation is landscape.
      • getAdjustToPercentOfNormalSize

        public boolean getAdjustToPercentOfNormalSize()

        Determines whether to adjust printing to the specified percentage of normal size.

        Returns:
        returns a flag which specifies whether to adjust printing to the specified percentage of normal size.
      • setAdjustToPercentOfNormalSize

        public void setAdjustToPercentOfNormalSize(boolean value)

        Determines whether to adjust printing to the specified percentage of normal size.

        Parameters:
        value - a flag which specifies whether to adjust printing to the specified percentage of normal size.
      • getPercentOfNormalSize

        public int getPercentOfNormalSize()

        Specifies a percentage of normal size to adjust printing to.

        Returns:
        returns a percentage of normal size to adjust printing to.
      • setPercentOfNormalSize

        public void setPercentOfNormalSize(int value)

        Specifies a percentage of normal size to adjust printing to.

        Parameters:
        value - the specified percentage of normal size to adjust printing to.
      • getPagesInWidth

        public int getPagesInWidth()

        Specifies a number of pages in width to be printed.

        Returns:
        returns a number of pages in width to be printed.
      • setPagesInWidth

        public void setPagesInWidth(int value)

        Specifies a number of pages in width to be printed.

        Parameters:
        value - the specified number of pages in width to be printed.
      • getPagesInHeight

        public int getPagesInHeight()

        Specifies a number of pages in height to be printed.

        Returns:
        returns a number of pages in height to be printed.
      • setPagesInHeight

        public void setPagesInHeight(int value)

        Specifies a number of pages in height to be printed.

        Parameters:
        value - the specified number of pages in height to be printed.
      • getPaperSize

        public int getPaperSize()

        Specifies a paper size. Can be one of the values of the PrinterPaperSize enum.

        Returns:
        returns a paper size.
      • setPaperSize

        public void setPaperSize(int value)

        Specifies a paper size. Can be one of the values of the PrinterPaperSize enum.

        Parameters:
        value - the specified paper size.
      • getFirstPageNumber

        public short getFirstPageNumber()

        Specifies a first page number for printing.

        Returns:
        returns a first page number for printing.
      • setFirstPageNumber

        public void setFirstPageNumber(short value)

        Specifies a first page number for printing.

        Parameters:
        value - the specified first page number for printing.