Version 6.10.3.70547 Changelog (April 30th, 2019)
Version: 6.10.3.70547
Release Date: April 30th, 2019
Built with Xcode 10.1 (10B61)
New
The
PTPDFViewCtrlandPTDocumentViewControllerclasses 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 thePTDocumentViewControllerclass, streaming-conversion is used when opening any compatible file with theopenDocumentWithURL:method. To open a file with thePTPDFViewCtrlclass, theopenUniversalDocumentWithConversion:method is used as follows:
// Open a .docx file.
let conversion: PTDocumentConversion = PTConvert.streamingPDFConversion(docxFilePath, options: nil)
pdfViewCtrl.openUniversalDocument(with: conversion)// Open a .docx file.
PTDocumentConversion *conversion = [PTConvert StreamingPDFConversion:docxFilePath options:nil];
[pdfViewCtrl openUniversalDocumentWithConversion: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, andPTAreaCreate. For more information, please see the measurement tools guide.It is now possible to override localized string definitions in the
Tools.frameworkbundle by adding aPTLocaliable.stringsfile 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:
Measurement tools
File comparison
Annotation extraction
Form extraction
Image stamping
The scroll direction of the
PTReflowViewControllerclass can now be controlled via itsscrollDirectionproperty. This defaults to horizontal scrolling/paging, but can be changed to allow scrolling vertically to change pages.
Bug fixes
A number of miscellaneous bug fixes.
API diff
The
PTPDFViewCtrlclass now posts notifications for streaming download and conversion events. When an http(s) PDF file is downloaded withOpenUrlAsync:or a universal document is converted with the streamingopenUniversalDocumentWithConversion:method, notifications will be posted for every download/conversion event. These events were already provided via thePTPDFViewCtrlDelegateprotocol methodpdfViewCtrl:downloadEventType:pageNumber:.
Last updated
Was this helpful?