How to stop layout rendering

Pdf viewer

Please give a brief summary of your issue:
On device rotate or expanding or collapsing view render and layout change function is called multiple time. How to stop PTPDFVIEW class from rendering it everytime.

Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)
1.Open pdf view any custom view, change its height by drag (basically change pdf view view height width somehow)
3.observe layout change and render did finish called multiple time
How to stop it.

Thank you.

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:


Hi @Rohan.dutta,

Thank you for getting in touch with us about this.
Are you able to share some more detail about your workflow? Why do you need to prevent the PTPDFViewCtrl class from rendering each time its frame changes? In general this is needed to ensure that everything is kept up-to-date when its layout changes.

If you can explain your requirements in some more detail we may be able to suggest the best approach.