com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class PageLegend



  • public class PageLegend
    extends Object

    Represents a page legend which is used for project printing.

    • Constructor Detail

      • PageLegend

        public PageLegend()
    • Method Detail

      • getLeftText

        public String getLeftText()

        The left aligned text to display in the page legend.

        Returns:
        returns the left aligned text to display in the page legend.
      • setLeftText

        public void setLeftText(String value)

        Sets the left aligned text to display in the page legend.

        Parameters:
        value - the left aligned text to display in the page legend.
      • getCenteredText

        public String getCenteredText()

        The centered text to display in the page legend.

        Returns:
        returns the centered text to display in the page legend.
      • setCenteredText

        public void setCenteredText(String value)

        Sets the centered text to display in the page legend.

        Parameters:
        value - the centered text to display in the page legend.
      • getRightText

        public String getRightText()

        The right aligned text to display in the page legend.

        Returns:
        returns the right aligned text to be displayed in the page legend.
      • setRightText

        public void setRightText(String value)

        Sets the right aligned text to display in the page legend.

        Parameters:
        value - the specified right aligned text to display in the page legend.
      • getLegendOn

        public int getLegendOn()

        Specifies the pages on which the legend appears. Can be one of the values of the Legend enum.

        Returns:
        returns the pages on which the legend appears.
      • setLegendOn

        public void setLegendOn(int value)

        Specifies the pages on which the legend appears. Can be one of the values of the Legend enum.

        Parameters:
        value - the specified page number on which the legend appears.
      • getWidth

        public double getWidth()

        Specifies a width of the legend.

        Returns:
        returns a width of the legend.
      • setWidth

        public void setWidth(double value)

        Specifies a width of the legend.

        Parameters:
        value - the specified width of the legend.