PDF Atelier Logo

PDF Atelier

Delete

Remove selected annotations via floating delete button or keyboard shortcut.

Delete Button

Floating delete button appears when an annotation is selected:

  • Single Click: Removes the selected annotation
  • Keyboard: Pressing Delete key also removes selection

Prop

Type

Implementation

import { PDFAtelier } from '@innosoft/pdf-atelier-react';

export default function DeleteExample() {
  return (
    <PDFAtelier
      src="/document.pdf"
      license="My License"
      showSelect={true}
      showDelete={true}
      showDraw={true}
    />
  );
}
import { Component } from '@angular/core';
import { PdfAtelierWrapper } from '@innosoft/pdf-atelier-angular';

@Component({
  standalone: true,
  selector: 'app-delete',
  imports: [PdfAtelierWrapper],
  template: `
    <pdf-atelier-wrapper
      [src]="'/document.pdf'"
      [license]="'My License'"
      [showSelect]="true"
      [showDelete]="true"
      [showDraw]="true"
    ></pdf-atelier-wrapper>
  `,
})
export class DeleteComponent {}
<script setup lang="ts">
import PdfAtelierWrapper from '@innosoft/pdf-atelier-vue';
</script>

<template>
  <PdfAtelierWrapper
    :src="'/document.pdf'"
    :license="'My License'"
    :showSelect="true"
    :showDelete="true"
    :showDraw="true"
  />
</template>

On this page