PDF, Word, Excel, PowerPoint, and Text are some of the most commonly used file formats in businesses to share and exchange information. Often organizations need to view or render these documents programmatically within their .NET or Java apps. Do you also have tons of documents in PDF, Word, Excel, and PowerPoint format that your company needs to make visible and accessible to employees? Would you like to integrate these data file formats into your .NET or Java applications? How about rendering PDF and MS Office documents, JPEG or PNG images, CAD drawings, and HTML files and displaying them in an easy-to-read way?
Are you interested in doing this directly from a local folder or stream without the need of uploading them somewhere first? If 'Yes’ was your response to any of these questions, you can use GroupDocs.Viewer for .NET and Java document viewing APIs and do it effortlessly.
PDF is perhaps the most widely used file format for displaying, sharing, or storing your personal and business data. Are you looking to read PDF documents, develop a PDF viewer in .NET or Java from scratch, or enhance the capabilities of your existing document viewing and processing software? If yes, we have just the solutions you need.
using GroupDocs.Viewer; using GroupDocs.Viewer.Options; using GroupDocs.Viewer.Results; using (var viewer = new Viewer("sample.pdf")) { var viewInfoOptions = ViewInfoOptions.ForHtmlView(); viewInfoOptions.ExtractText = true; var viewInfo = viewer.GetViewInfo(viewInfoOptions) as PdfViewInfo; // Display PDF file information. Console.WriteLine($"Document type: {viewInfo.FileType}"); Console.WriteLine($"Number of pages: {viewInfo.Pages.Count}"); Console.WriteLine($"Printing allowed: {viewInfo.PrintingAllowed}"); }
using (Viewer viewer = new Viewer("sample.pdf")) { ViewInfoOptions viewInfoOptions = ViewInfoOptions.forHtmlView(); PdfViewInfo viewInfo = viewer.GetViewInfo(viewInfoOptions) as PdfViewInfo; system.out.println("File type: " + viewInfo.getFileType()); system.out.println("Pages count: " + viewInfo.getPages().getCount()); }
If you have a business requirement to read and convert PDF documents to popular image formats, you can use our .NET and Java file viewer libraries and expertly render PDF files as JPEG or PNG formats within your applications.
The perfect solution for anyone who needs to render Microsoft Word documents into PDF files. Whether you need to send documents to clients or want to save a copy of a Word file, GroupDocs.Viewer for .NET and Java document viewing APIs are the right choice. Easily convert your Word documents into high-quality PDF files that look exactly like the original.
There are a lot of situations where it is necessary to read encrypted files. For instance, when someone sends you a password-protected Word document, or when you need to open an encrypted PDF file that was uploaded by a customer. You can make full use of this feature and quickly render your secure documents with GroupDocs.Viewer for .NET and Java file viewer libraries.