Some test text!
iOS / Changelog / 6.10.3.70547
The PTPDFViewCtrl
and PTDocumentViewController
classes are now able to convert Office and image on-the-fly. Pages in the document are rendered as soon as they are converted, as opposed to waiting for the entire document to be converted before seeing any content. For the PTDocumentViewController
class, streaming-conversion is used when opening any compatible file with the openDocumentWithURL:
method. To open a file with the PTPDFViewCtrl
class, the openUniversalDocumentWithConversion:
method is used as follows:
// Open a .docx file.
let conversion: PTDocumentConversion = PTConvert.streamingPDFConversion(docxFilePath, options: nil)
pdfViewCtrl.openUniversalDocument(with: conversion)
This release adds an image stamper tool, PTImageStampCreate
, to add images to a document. The tool allows the user to select an image from the device's photo library and add the image as an annotation.
This release also introduces end-point snapping for the measurement tools, PTRulerCreate
, PTPerimeterCreate
, and PTAreaCreate
. For more information, please see the measurement tools guide .
It is now possible to override localized string definitions in the Tools.framework
bundle by adding a PTLocaliable.strings
file to the main (app) bundle. When this file is present it will be used to search for string definitions before the Tools-internal is used. This allows for new language translations to be added without needing to recompile the Tools framework. Please see our localization guide for more information.
This release adds the following Showcase samples:
The scroll direction of the PTReflowViewController
class can now be controlled via its scrollDirection
property. This defaults to horizontal scrolling/paging, but can be changed to allow scrolling vertically to change pages.
PTPDFViewCtrl
class now posts notifications for streaming download and conversion events. When an http(s) PDF file is downloaded with OpenUrlAsync:
or a universal document is converted with the streaming openUniversalDocumentWithConversion:
method, notifications will be posted for every download/conversion event. These events were already provided via the PTPDFViewCtrlDelegate
protocol method pdfViewCtrl:downloadEventType:pageNumber:
.Trial setup questions? Ask experts on Discord
Need other help? Contact Support
Pricing or product questions? Contact Sales