# getInfo method

DocumentInfo getInfo()

Gets the document information.

return Document information. throws DocumentException An error has occurred during Document Library execution.

## Implementation

    DocumentInfo getInfo() {
      DocumentInfo info = DocumentInfo();
      var err = documentSDK.id3DetectedDocument_GetInfo(_pHandle.value, info.handle);
      if (err != DocumentError.success.value) {
        info.dispose();
        throw DocumentException(err);
      }
      return info;
    }