PDFTron is now Apryse. Same great products, new name.
By Mohammad Yasser Khan | 2019 Mar 26
It is with great pleasure that we announce our new official UWP SDK release (version 6.10.0). The new release leverages the features, performance and quality improvements of our updated core engine. Many of these improvements were initiated by your feedback and suggestions.
This update includes a new built-in visual file comparison, large file support (2GB+) for 32 bit builds, improved Windows font substitution, improved MS Office file type conversion quality, and performance gains of a bodybuilder on steroids (just kidding), but yes a lot of situational performance improvements to say the least.
For a more in-depth list of improvements please refer to our changelog.
To make it easier to spot differences between files, our SDK now allows the generation of a visual file comparison between two PDF, MS Office, or Image files (see our supported file formats). The output file is a resolution independent PDF.
The following code snippet shows how to use our built-in visual file comparison (Diff API):
using (PDFDoc firstDocument = new PDFDoc(firstDocumentPath))
{
using (PDFDoc secondDocument = new PDFDoc(secondDocumentPath))
{
Page firstDocumentPage = firstDocument.GetPage(1);
Page secondDocumentPage = secondDocument.GetPage(1);
DiffOptions diffOptions = new DiffOptions();
diffOptions.SetColorA(new ColorPt(1, 0, 0));
diffOptions.SetColorB(new ColorPt(0, 0, 0));
diffOptions.SetBlendMode(GStateBlendMode.e_bl_normal);
PDFDoc outputDocument = new PDFDoc();
outputDocument.AppendVisualDiff(firstDocumentPage, secondDocumentPage, diffOptions);
await outputDocument.SaveAsync(outputDocumentPath, SDFDocSaveOptions.e_linearized);
}
}
Great news! PDFTron SDK for UWP now supports files of any size on 32 bit systems (in addition to 64 bit) when constructing PDFDoc objects using a file path.
Based on your feedback we have made significant improvements to our font substitution routines for multi-language text and unusual characters. This has resulted in improved accuracy for user-created text, such as annotations.
We've also improved the fidelity of our MS Office to PDF converter:
Better performance is always a top priority for us and our customers. This release includes a number of optimizations, including:
For a full list of changes, please see the PDFTron SDK 6.10.0 for UWP changelog.
We hope you like these changes and any feedback is greatly appreciated. Please don't hesitate and contact us if you have any questions or suggestions. We also have many exciting new features planned for the coming weeks and months. Stay tuned...
Mohammad Yasser Khan
Share this post
Popular Content