This article explains how to detect the document File type and calculate the number of pages when converting a File with GroupDocs.Conversion for Java....they were loaded—whether from a file, a stream, or cloud storage...document information, use the Converter.getDocumentInfo() method....