// Import ComPDFKit WebViewer into your component.
import ComPDFKitViewer from '/@compdfkit/webviewer';
const viewer = document.getElementById('webviewer');
// Initialize ComPDFKit Web viewer and load your pdf
ComPDFKitViewer.init({
pdfUrl: 'Your PDF Url',
}, viewer)
.then((core) => {
const docViewer = core.docViewer;
docViewer.addEvent('documentloaded', () => {
console.log('ComPDFKit Web Viewer loaded');
})
})
Self-hosted Deployment
Securely batch delete, watermark and extract data from documents within local environments with libraries for Java and .NET on Linux, Windows, and macOS, ensuring enhanced control and privacy.
Offline SDK
Seamlessly integrate local SDKs into your apps or systems with rich functions including viewing, markup, editing, signing, conversion, and data extraction, satisfying the needs of processing documents in different scenarios.
Online API/ Low-Code
Explore faster and more flexible APIs and low-code solutions to smartly process documents from any platform, liberating developers from platform and server restrictions.