Open PDF From File Path Using .NET
Opening a PDF file from a file path using DynamicPDF Viewer is straightforward.
How to open PDF File From its File Path in C#
The following steps and sample code illustrate opening a PDF file from a file path using the Rasterizer product.
Steps for Opening a PDF From a File Path
- Open the
PdfDocument
using pdf viewer by providing the file path.
Sample Code - C#
pdfViewer.Open(@"DocumentA.pdf");
Getting Started
NuGet Package
DynamicPDF Viewer available on NuGet and is part of the ceTe.DynamicPDF.Viewer.NET
package. The easiest way to install is through the Visual Studio Package Manager. You can also download the package directly from NuGet.
NuGet Package ID: ceTe.DynamicPDF.Viewer.NET
Example Project
An example project showing the functionality on this page can be cloned or viewed from GitHub:
Clone or View Example Project on GitHub
DynamicPDF Viewer Information
More information can be found here: