This article explains how To detect document file type, size and calculate pages count when annotate documents or Images with GroupDocs.Comparison....the document file type (PDF, Word document, Excel spreadsheet...PowerPoint presentation or image etc.). represents count of document...