Sen descrición

wzl a52462bccc add: 注释类完善 hai 4 meses
packages a52462bccc add: 注释类完善 hai 4 meses
.gitignore 61257e23ea add: Annotations 添加类;添加jsdoc模板 hai 5 meses
README.md c82a072dd2 add: 注释类完善 hai 4 meses
jsdoc.config.json 4c96c439d5 add: 注释类补充代码 hai 4 meses
package.json a52462bccc add: 注释类完善 hai 4 meses
pnpm-lock.yaml 61257e23ea add: Annotations 添加类;添加jsdoc模板 hai 5 meses
pnpm-workspace.yaml c7455ddc51 init %!s(int64=2) %!d(string=hai) anos
webpack.config.dev.js c7455ddc51 init %!s(int64=2) %!d(string=hai) anos
webpack.config.prod.js c7455ddc51 init %!s(int64=2) %!d(string=hai) anos

README.md

ComPDFKit for Web

ComPDFKit for Web is a powerful JavaScript PDF library and you can easily and quickly integrate PDF functionality like viewing, annotating, Forms, signing, and document editing into your Web applications.

  • Usability UI: Simple, easy to use, and highly customizable
  • Client Side: Workload is offloaded to client (no server needed)
  • High Fidelity: Accurate, reliable PDFium-based rendering engine
  • Prebuilt Features: Annotate, Content Editor, Document Editor, Signatures, Form, and more

Instantiation

You can get a complete get-started guide in our documentation.

You must instantiate WebViewer in order to access classes and APIs.

import ComPDFKitViewer from "/@compdfkit_pdf_sdk/webviewer";

const viewer = document.getElementById('webviewer');
ComPDFKitViewer.init({
  pdfUrl: 'Your PDF Url',
  license: 'Input your license here'
}, viewer)
  .then((core) => {
    const docViewer = core.docViewer;
    docViewer.addEvent('documentloaded',async () => {
      console.log('ComPDFKit Web Demo loaded');
    })
  })

Support

If you have any questions, please feel free to ask us at ComPDFKit Support.