For those
who are going to create Universal apps requiring PDF rendering for both Windows Phone Store and
Windows Store we have prepared a sample showing
our Apitron PDF Rasterizer for .NET component in action.
This
C# sample is called ProgressiveRenderingSample
and it was created using Visual
C#\Store Apps\Universal Apps\Blank App
template. Sample is included into the product download package, see
Samples folder (get it here).
The solution contains two specific projects each targeting its own
platform (Windows 8.1 and Windows Phone 8.1) and a shared code
project.
In
this sample we demonstrate that the same code can be used to render
PDF to image on both platforms and the technique called “progressive
rendering”. Both apps render PDFs using special rendering thread
and update their views asynchronously taking the load off the UI
thread. It makes the app more responsive to user actions and gives
him perfect feedback.
Screenshots, showing 2
apps side by side:
Both
apps use the same code and library for rendering and they even look
similar having the same layout for their main pages. Try it yourself
or contact us
if you have any questions or comments.
No comments:
Post a Comment