Some test text!
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)
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.
PTAreaCreate. For more information, please see the measurement tools guide.
Tools.frameworkbundle by adding a
PTLocaliable.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:
PTReflowViewControllerclass can now be controlled via its
scrollDirectionproperty. This defaults to horizontal scrolling/paging, but can be changed to allow scrolling vertically to change pages.
PTPDFViewCtrlclass 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
Get the answers you need: Support
Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.
Select a platform to get started with your free trial.
Unlimited usage. No email address required.