How to disable keyboard shortcuts (Copy & Paste) in pdfViewer?

Hi! I'm working with PDFViewer in angular and i has a use case where i need to restrict actions over the annotations, the idea is provide a functionality where annotation shapes can be resized and moved, but these annotations has to be unique and when i use copy and paste functionality i has duplicated annotations.

So i want to disable copy and paste functionality on pdfViewer shape annotations, How i can do it whitout lock annotation?


Regards.


pd: i dont want use isLock property because restrict resize and move.


2 Replies

DM Dhivyabharathi Mohan Syncfusion Team September 30, 2021 02:06 PM UTC

Hi Benjamin, 
 
Thank you for contacting Syncfusion support. 
 
Currently we have support only for restrict the resize, move, delete, select and property change actions for the annotations. We do not have support to restrict the copy and paste actions for the annotations. We will analyze for the feasibility to achieve this and provide the further details on October 4, 2021. 
 
Regards, 
Dhivya. 



SK Shamini Kiruba Sobers Syncfusion Team October 4, 2021 12:47 PM UTC

Hi Benjamin, 

We have validated and logged Restrict keyboard shortcuts in PDF viewer as a feature request. But, we don’t have any immediate plans to implement this feature. We will include the feature in any of our upcoming releases. You can track the status of the feature through the following link. 


Regards, 
Shamini 


Loader.
Up arrow icon