We are happy to announce version 6.10.3 of PDFTron's iOS SDK .
This release adds Word, Excel, and PowerPoint streaming, image stamping, measurement tool snapping, improved localization, and more!
Office streaming
We are pleased to introduce MS Office document streaming to the PDFTron iOS SDK. It is now possible to immediately begin rendering Word, Excel, and PowerPoint documents without first converting the file to PDF. This means users can see and interact with the first few pages of a document while the rest of the file is being converted on-the-fly.
Our feature-packed PTDocumentViewController
and PTTabbedDocumentViewController
classes allow you to stream Office docs using the powerful
openDocument(with:)
API.
Image stamp tool
There is a new tool to add image stamp annotations to PDFs.
The new PTImageStampCreate
tool
allows users to easily select an image from their photo library to add as an
annotation to the document.

Point snapping API
This release introduces end-point snapping for measurement tools. Snapping is useful when you want to precisely place annotations in documents by snapping them to lines & objects. We condense the document geometry into a structure that's optimized for fast lookups, enabling real time snap-to-point behaviour in the viewer.

For more information see our Measurement tools guide .
Localization
Localizing the Tools.framework
user-facing strings into any language is now
easier than ever!
All you need to do is add a PTLocalizable.strings
file to the main bundle of
your app. The Tools Framework will then look for key-value pairs in this file
to display to the user.
To see which strings in the Tools Framework can be localized, see the Localizable.strings
reference files included in the release. These can be found in Xcode in
Pods/PDFNet/Resources/Tools-Localization/<language-code>.lproj
when using
CocoaPods, or in the Lib/Tools/src/PDFViewCtrlTools/Tools/<language-code>.lproj
directories when integrating the framework manually. You can add any of the keys
from these files to your PTLocalizable.strings
file and define a custom value
to display to the user.
See our Localization guide for more information.
New Showcase samples
Our Showcase app which demonstrates many of the features included in our SDK now includes even more samples. You can try these out in your browser with the links below but for optimal performance we recommend installing the Showcase app on a local device. The app is included in the SDK download package .
And more…
Please see our change log for a list of all changes.
We hope you like these changes and any feedback is greatly appreciated. Please don't hesitate to 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…