com.groupdocs.watermark.common

Interface IDocumentInfo



  • public interface IDocumentInfo

    Defines methods that are required for getting basic document information.

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      FileType getFileType()
      Gets the file format description.
      int getPageCount()
      Gets the total page count.
      long getSize()
      Gets the document size in bytes.
      boolean isEncrypted()
      Gets a value indicating whether the document is encrypted and requires a password to open.
    • Method Detail

      • getFileType

        FileType getFileType()

        Gets the file format description.

      • getPageCount

        int getPageCount()

        Gets the total page count.

      • getSize

        long getSize()

        Gets the document size in bytes.

      • isEncrypted

        boolean isEncrypted()

        Gets a value indicating whether the document is encrypted and requires a password to open.

        Returns:
        True if the document is encrypted and requires a password to open; otherwise, false.