get_document_info method

get_document_info

Retrieves metadata about the loaded document without performing a full conversion.

def get_document_info(self):
    ...

Returns: DocumentInfo: A DocumentInfo containing the detected FileFormat, PageCount, Title, Author, and IsEncrypted flag.

See Also