📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP

ngx-pdf-editor

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-pdf-editor

[![Angular](https://img.shields.io/badge/%20-Angular%20Material-blue?style=for-the-badge&logo=angular)]() [![Lending Solution](https://img.shields.io/badge/Powered%20By-Lending%20Solution-ff69b4?style=for-the-badge)](https://www.lendingsolution.it)

0.1.17-legacy
latest
Version published
Weekly downloads
14
-51.72%
Maintainers
3
Weekly downloads
 
Created

Ngx Pdf Editor

Angular Customizable Pdf Editor

Work in progress - Documentation not ready!

Angular Lending Solution

Require Angular 12+

Install

npm install ngx-pdf-editor

Configuration

Import NgxPdfEditorService in constructor.

Add Tool to Editor

this.pdfEditorService.addTool(
      new EditorTool('text',
        'Testo',
        'text_fields',
        (event) => this.pdfEditorService.addElement<PDFTextElement>(PDFTextElement, event, undefined, undefined, true),
        PDFTextElement)
    );

Basic Tools Included

  • PDFTextElement
  • PDFImageElement
  • PDFSignatureElement

Open Editor

const config: MatDialogConfig = new MatDialogConfig();

const editorConfig: EditorConfig = {
      title: "Editor PDF",
      file: {{yourFile}} (it must be a File object)
    }
    
config.data = editorConfig;

this.matDialog.open(NgxPdfEditorComponent, config);

License

MIT

FAQs

Package last updated on 20 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts