Highlight color
The PDF viewer always renders the PDF file as a canvas. Often, it also generates additional layers on top of the canvas:
[textLayer]="false"
, but if you do, your users can't use the find bar.You don't have to think much about these layers most of the time. However, these layers are HTML divs, and you can manipulate them.
<ngx-extended-pdf-viewer
[src]="'./assets/pdfs/The Public Domain - Enclosing the Commons of the Mind.pdf'"
(annotationLayerRendered)="onAnnotationLayerRendered($event)"
[zoom]="'auto'">
</ngx-extended-pdf-viewer>