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()

        Initializes a new instance of the PageSettings class. Represents printing settings for a page of project view.

    • Method Detail

      • getAdjustToPercentOfNormalSize

        public final boolean getAdjustToPercentOfNormalSize()

        Gets a value indicating whether to adjust printing to the specified percentage of normal size.

        Returns:
        a value indicating whether to adjust printing to the specified percentage of normal size.
      • setAdjustToPercentOfNormalSize

        public final void setAdjustToPercentOfNormalSize(boolean value)

        Sets a value indicating whether to adjust printing to the specified percentage of normal size.

        Parameters:
        value - a value indicating whether to adjust printing to the specified percentage of normal size.
      • getFirstPageNumber

        public final short getFirstPageNumber()

        Gets a first page number for printing.

        Returns:
        a first page number for printing.
      • setFirstPageNumber

        public final void setFirstPageNumber(short value)

        Sets a first page number for printing.

        Parameters:
        value - a first page number for printing.
      • getPagesInHeight

        public final int getPagesInHeight()

        Gets a number of pages in height to be printed.

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

        public final void setPagesInHeight(int value)

        Sets a number of pages in height to be printed.

        Parameters:
        value - a number of pages in height to be printed.
      • getPagesInWidth

        public final int getPagesInWidth()

        Gets a number of pages in width to be printed.

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

        public final void setPagesInWidth(int value)

        Sets a number of pages in width to be printed.

        Parameters:
        value - a number of pages in width to be printed.
      • getPaperSize

        public final int getPaperSize()

        Gets a paper size. Can be one of the values of the PrinterPaperSize enumeration.

        Returns:
        a paper size.
      • setPaperSize

        public final void setPaperSize(int value)

        Sets a paper size. Can be one of the values of the PrinterPaperSize enumeration.

        Parameters:
        value - a paper size.
      • getPercentOfNormalSize

        public final int getPercentOfNormalSize()

        Gets a a percentage of normal size to adjust printing to.

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

        public final void setPercentOfNormalSize(int value)

        Sets a a percentage of normal size to adjust printing to.

        Parameters:
        value - a a percentage of normal size to adjust printing to.
      • isPortrait

        public final boolean isPortrait()

        Gets a value indicating whether the page orientation is portrait; returns false if the page orientation is landscape.

        Returns:
        a value indicating whether the page orientation is portrait; returns false if the page orientation is landscape.
      • setPortrait

        public final void setPortrait(boolean value)

        Sets a value indicating whether the page orientation is portrait; returns false if the page orientation is landscape.

        Parameters:
        value - a value indicating whether the page orientation is portrait; returns false if the page orientation is landscape.