PDF Viewer

View PDF documents with free cross-platform Apps and APIs.

How to view PDF files using Aspose.PDF Library

PDF Viewers are software programs used to open, view, and sometimes edit PDF files. PDF stands for Portable Document Format, a file format developed by Adobe Systems that preserves the look and formatting of a document, regardless of the software, hardware, or operating system used to create or view it. There are many PDF viewer programs available, including Aspose.PDF for .NET, and many free alternatives like PDF Viewer. PDF viewers are useful for opening and viewing PDF documents, which are used for a variety of document types, including bank statements, newsletters, user manuals, and forms. In order to view PDF file, we’ll use Aspose.PDF API which is a feature-rich, powerful and easy to use document manipulation API for any platform. Open NuGet package manager, search for Aspose.PDF and install. You may also use the following command from the Package Manager Console.

How to View PDF File using C#


You need Aspose.PDF for .NET to try the code in your environment.

  1. Load the PDF with an instance of Document.
  2. View resultant File.

C# - example code to view PDF file

This sample code shows how to view PDF file formats

    // load PDF with an instance of Document
    var document = new Document("template.pdf");

    // save document in HTML format
    document.Save("output.html", Aspose.Pdf.SaveFormat.Html);

Try to View files via Java

Aspose.PDF is a Java component built to allow developers to create PDF documents, whether simple or complex, on the fly programmatically. For the details of our library with PDF, documents check the Documentation Pages.

  • View CGM via Java with Aspose.PDF for Java Library.
  • View EPUB via Java with Aspose.PDF for Java Library.

Try to View files via C++

Aspose.PDF for C++ is a native C++ library that enable developers to create and manipulate PDF documents without using Adobe Acrobat. For the details of our library with PDF, documents check the Documentation Pages.

  • View CGM via C++ with Aspose.PDF for C++ Library.
  • View EPUB via C++ with Aspose.PDF for C++ Library.

Try to View files via C#

Aspose for .NET is a modern and professional PDF API used to view, create, read-write, modify, and make other operations with PDF files without any external dependencies in a .NET application. For the details of our library with PDF, documents check the Documentation Pages.

  • View CGM via .NET with Aspose.PDF for .NET Library.
  • View EPUB via C# with Aspose.PDF for .NET Library.