How can I cancel rendering?

32 views
Skip to first unread message

Aaron

unread,
Nov 18, 2014, 11:36:02 AM11/18/14
to pdfne...@googlegroups.com
Q:

I have a long-running rendering task on Android that I'd like to cancel.  How do I do so?

A:

It depends on how you're performing the rendering.

If using PDFViewCtrl, you should be able to use PDFViewCtrl.cancelRendering() to cancel the rendering process:


If using PDFRasterizer, you can cancel the rendering with PDFRasterizer.setCancel():


Reply all
Reply to author
Forward
0 new messages