Kendo pdf viewer canvas in my implementation but not in demo

1 Answer 11 Views
PDFViewer
Vadim
Top achievements
Rank 1
Vadim asked on 31 Jul 2025, 08:20 AM
Hi! I am using kendo pdf viewer. The issue i have is that component behind the scenes is creating a canvas. This is not allowing me to ctrl + c. I am not sure why is this happening to me but not in the demo page. Do you have any clue what's happening ?

  <kendo-pdfviewer
    *ngIf="isPdfViewerVisible && pdfSource"
    [url]="pdfSource"
    style="height: 100%; width: 100%"
    [tools]="tools"
  ></kendo-pdfviewer>

1 Answer, 1 is accepted

Sort by
0
Martin Bechev
Telerik team
answered on 05 Aug 2025, 06:52 AM

Hello Vadim,

The Kendo UI for Angular PDFViewer component renders PDF pages using a canvas element, which is a standard approach for displaying PDFs in web applications. Rendering content as a canvas means that the text is drawn as an image, so native browser text selection (such as highlighting and copying with Ctrl+C) is not available.

However, there is another element that holds the text so that the user can select and copy it:

https://www.telerik.com/kendo-angular-ui-develop/components/pdfviewer/tools#selection-tool

In the official demos, the PDFViewer might use the [data] input with a Base64-encoded PDF or a PDF file that includes selectable text layers. Not all PDFs are created equally—some do not contain selectable text, which can also affect selection behavior.

In case the observed behavior persists, provide more details and exmaple that reproduce the problem. Thank you.

Regards,


Martin Bechev
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
PDFViewer
Asked by
Vadim
Top achievements
Rank 1
Answers by
Martin Bechev
Telerik team
Share this question
or