string filePath = "Your PDF File Path";
// Initialize a CPDFDocument object with the path to the PDF file
CPDFDocument document = CPDFDocument.InitWithFilePath(filePath);
// Initialize a CPDFViewer object and display it
CPDFViewer pdfViewer = new CPDFViewer();
pdfViewer.InitDocument(document);
pdfViewer.Load();
MAUI:
Web UI with Native Speed
Utilize the out-of-the-box Web UI with native speed to build apps for Android, iOS, Windows, and macOS, and experience the optimal blend of speed and stability with ComPDFKit for MAUI.
.NET Core:
Library for Server
ComPDFKit's library for .NET Core supports all versions of Windows (32-bit and 64-bit), Mac OS, and Linux (32-bit and 64-bit), empowering users to preview, annotate, and edit PDF files.
Powered by ComPDFKit
Try our Web SDK online to explore the possibilities.