com.groupdocs.watermark

Interfaces

Classes

Exceptions

com.groupdocs.watermark

Class WordsPageSetup



  • public class WordsPageSetup
    extends Object

    Represents printing page properties for a section of a Word document.

    • Method Detail

      • getWidth

        public final double getWidth()

        Gets the width of a printing page in points.

        Returns:
        The width of a printing page in points.
      • getHeight

        public final double getHeight()

        Gets the height of a printing page in points.

        Returns:
        The height of a printing page in points.
      • getLeftMargin

        public final double getLeftMargin()

        Gets the size of the left margin in points.

        Returns:
        The size of the left margin in points.
      • getTopMargin

        public final double getTopMargin()

        Gets the size of the top margin in points.

        Returns:
        The size of the top margin in points.
      • getRightMargin

        public final double getRightMargin()

        Gets the size of the right margin in points.

        Returns:
        The size of the right margin in points.
      • getBottomMargin

        public final double getBottomMargin()

        Gets the size of the bottom margin in points.

        Returns:
        The size of the bottom margin in points.
      • getDifferentFirstPageHeaderFooter

        public final boolean getDifferentFirstPageHeaderFooter()

        Gets a value indicating whether a different header/footer is used for the first page.

        Returns:
        True if a different header/footer is used for the first page; otherwise, false.
      • setDifferentFirstPageHeaderFooter

        public final void setDifferentFirstPageHeaderFooter(boolean value)

        Sets a value indicating whether a different header/footer is used for the first page.

        Parameters:
        value - True if a different header/footer is used for the first page; otherwise, false.
      • getOddAndEvenPagesHeaderFooter

        public final boolean getOddAndEvenPagesHeaderFooter()

        Gets a value indicating whether different headers/footers are used for odd-numbered and even-numbered pages. Note, changing this property affects all sections in the document.

        Returns:
        True if different headers/footers are used for odd-numbered and even-numbered pages; otherwise, false.
      • setOddAndEvenPagesHeaderFooter

        public final void setOddAndEvenPagesHeaderFooter(boolean value)

        Sets a value indicating whether different headers/footers are used for odd-numbered and even-numbered pages. Note, changing this property affects all sections in the document.

        Parameters:
        value - True if different headers/footers are used for odd-numbered and even-numbered pages; otherwise, false.