This article explains how To detect the document's file type and calculate the number of pages when converting a file with GroupDocs.Conversion for .NET....md . Also process documents locally...contents, author, lines count, words count, whether it is password...