com.groupdocs.metadata.core

Interfaces

Classes

Enums

Exceptions

com.groupdocs.metadata.core

Interface IDocumentInfo

  • All Known Implementing Classes:
    DocumentInfo


    public interface IDocumentInfo

    Provides common information about a loaded document.

    Learn more

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      FileTypePackage getFileType()
      Gets the file type of the loaded document.
      int getPageCount()
      Gets the number of pages (slides, worksheets, etc) in the loaded document.
      IReadOnlyList<PageInfo> getPages()
      Gets a collection of objects representing common information about the document pages (slides, worksheets, etc).
      long getSize()
      Gets the size of the loaded document in bytes.
      boolean isEncrypted()
      Gets a value indicating whether the document is encrypted and requires a password to open.
    • Method Detail

      • getFileType

        FileTypePackage getFileType()

        Gets the file type of the loaded document.

        Returns:
        The file type of the loaded document.
      • getSize

        long getSize()

        Gets the size of the loaded document in bytes.

        Returns:
        The size of the loaded document in bytes.
      • getPageCount

        int getPageCount()

        Gets the number of pages (slides, worksheets, etc) in the loaded document.

        Returns:
        The number of pages (slides, worksheets, etc) in the loaded document.
      • getPages

        IReadOnlyList<PageInfo> getPages()

        Gets a collection of objects representing common information about the document pages (slides, worksheets, etc).

        Returns:
        A collection of objects representing common information about the document pages (slides, worksheets, etc).
      • isEncrypted

        boolean isEncrypted()

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

        Returns:
        A value indicating whether the document is encrypted and requires a password to open.