This is a migrated thread and some comments may be shown as answers.

PDFViewer: How to get rotation changed event?

1 Answer 64 Views
PDFViewer
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Veteran
Kevin asked on 04 Nov 2020, 03:34 PM

Hi,

 

I am storing the user changes in the PDF viewer for multiple PDFs.

For zoom, there is the ScaleFactorChanged event.

It seems there is no event exposed for Rotation, like RotationChanged?

How is it possible to store the information when the user changes the rotation?

 

As a workaround, I now check the rotation with :

 DetailPdfViewer.CommandDescriptors.RotateClockwiseCommandDescriptor.Command.CanExecuteChanged += OnRotationChanged;

and then get DetailPdfViewer.RotationAngle, but this seems really hacky to me. It just triggers to often, so I do not like having this in production too long.

 

Best regards,

Kevin

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimitar
Telerik team
answered on 05 Nov 2020, 12:20 PM

Hi Kevin,

I have examined this and indeed there is no other way to detect this change now. I have logged a feature request for this on our feedback portal. You can track its progress, subscribe to status changes, and add your comment to it here. I have updated your Telerik points as well.

Let me know if you have any other questions.

Regards,
Dimitar
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
PDFViewer
Asked by
Kevin
Top achievements
Rank 1
Veteran
Answers by
Dimitar
Telerik team
Share this question
or