com.groupdocs.watermark.options

Interfaces

Classes

com.groupdocs.watermark.options

Class WordProcessingWatermarkPagesOptions

    • Constructor Detail

      • WordProcessingWatermarkPagesOptions

        public WordProcessingWatermarkPagesOptions()

        Initializes a new instance of the WordProcessingWatermarkPagesOptions class.

    • Method Detail

      • getPageNumbers

        public final int[] getPageNumbers()

        Gets the page numbers to add the watermark. All numbers must be greater than or equal to 1. This property is only used when adding the watermark to a document. If this value is null or empty, the watermark is added to all pages.

        Returns:
        The page numbers to add the watermark.
      • setPageNumbers

        public final void setPageNumbers(int[] value)

        Sets the page numbers to add the watermark. All numbers must be greater than or equal to 1. This property is only used when adding the watermark to a document. If this value is null or empty, the watermark is added to all pages.

        Parameters:
        value - The page numbers to add the watermark.