Highlight
Text-based highlighting with multi-line awareness and color customization.
Highlight Tool
Enables text-based highlighting:
- Multi-line Awareness: Respects text breaks and line wrapping
- Color Customization: Via color picker
- Precision: Highlights conform to the PDF's text layer
Prop
Type
Implementation
import { PDFAtelier } from '@innosoft/pdf-atelier-react';
export default function HighlightExample() {
return (
<PDFAtelier
src="/document.pdf"
license="My License"
showHighlight={true}
showColorPicker={true}
/>
);
}import { Component } from '@angular/core';
import { PdfAtelierWrapper } from '@innosoft/pdf-atelier-angular';
@Component({
standalone: true,
selector: 'app-highlight',
imports: [PdfAtelierWrapper],
template: `
<pdf-atelier-wrapper
[src]="'/document.pdf'"
[license]="'My License'"
[showHighlight]="true"
[showColorPicker]="true"
></pdf-atelier-wrapper>
`,
})
export class HighlightComponent {}<script setup lang="ts">
import PdfAtelierWrapper from '@innosoft/pdf-atelier-vue';
</script>
<template>
<PdfAtelierWrapper
:src="'/document.pdf'"
:license="'My License'"
:showHighlight="true"
:showColorPicker="true"
/>
</template>