Extract Format Information
You can extract format information from a document by using the getAutoDetectInfo()
method. This method extracts the major format, file class, version, and document attributes, and populates the AutoDetectInfo
class. It returns the same format information as the fpGetStreamInfo()
function, but as a string not an integer. The format information that can be extracted is listed in the adinfo.h
header file.
For information about mapping detected formats to document readers, see Determine a Document Reader.