com.groupdocs.watermark.contents

Interfaces

Classes

com.groupdocs.watermark.contents

Class WordProcessingPageSetup



  • public class WordProcessingPageSetup
    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 content.

        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 content.

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