which method is responsable for optimizing pages rendering after zooming ? - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Windows 8.1, 10, WindowsPhone, Windows UWP
  • Page:
  • 1

TOPIC: which method is responsable for optimizing pages rendering after zooming ?

which method is responsable for optimizing pages rendering after zooming ? 9 months 3 days ago #13497

  • Bouzidi
  • Bouzidi's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
Hi,

I m using the last Windows sdk in my project and I need to know which method is responsable for optimizing pages rendering after zooming.
In fact, after zooming In the lib takes one second to optimize the rendering quality as qhown in this two files :

Before render optimization :
drive.google.com/file/d/1ljJExBwOhiPwonr...ZSH/view?usp=sharing

After render optimization :
drive.google.com/file/d/1efwLZEeiilTKbVU...RT2/view?usp=sharing

Can you explain us the process timeline of the pages rendering.

Waiting for your response.

Best Regards,
Hamza.

Please Log in or Create an account to join the conversation.

which method is responsable for optimizing pages rendering after zooming ? 9 months 2 days ago #13498

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 865
  • Karma: 23
  • Thank you received: 70
Dear Hamza,

While zooming, a low quality bitmap is used for rendering (to avoid a white page), after zooming the bitmap is rendered till the high quality rendering is finished (this depends on the page content, fast for light-weight pages, less faster for heavier pages).

Methods responsible for zooming behavior:
PDFView.ZoomStart
PDFView.ZoomSet
PDFView.vOnTimer	
PDFView.vDraw
The following user(s) said Thank You: Bouzidi

Please Log in or Create an account to join the conversation.

which method is responsable for optimizing pages rendering after zooming ? 9 months 2 days ago #13499

  • Bouzidi
  • Bouzidi's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
Dear Nermeen,

Would you please give us the low quality bitmap name ?

Thank you,

Please Log in or Create an account to join the conversation.

which method is responsable for optimizing pages rendering after zooming ? 9 months 2 days ago #13500

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 865
  • Karma: 23
  • Thank you received: 70
Dear Hamza,

The bitmap is instance of PDFBmp and gets generated and rendered at runtime, please check PDFVPage.Draw(PDFVCanvas canvas, float scrollx, float scrolly) which gets called from PDFView.vDraw in case m_drawbmp is true
The following user(s) said Thank You: Bouzidi

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum