This article explains how to detect document file type, size and calculate pages count when annotate documents or images with GroupDocs.Comparison....Signature Product Solution GroupDocs...the document file type (PDF, Word document, Excel spreadsheet...