com.groupdocs.watermark.contents

Interfaces

Classes

com.groupdocs.watermark.contents

Class WordProcessingContent

    • Method Detail

      • getPageCount

        public final int getPageCount()

        Gets the number of pages in the document.

        Returns:
        The number of pages in the document.
      • encrypt

        public final void encrypt(String password)

        Encrypts the document.

        Parameters:
        password - The password that will be required to open the document.
      • decrypt

        public final void decrypt()

        Decrypts the document.

      • unprotect

        public final void unprotect()

        Removes protection from the document regardless of the password.