Some test text!
PTDocumentViewController document opening API has been expanded to support more file formats. It is now possible to open PDF, Microsoft Office, iWork (Pages, Keynote, Numbers), image, markdown, and other file formats in the document viewer. The files can be located locally or remotely and are downloaded by the viewer as necessary. For more information on the supported file formats, please see the document conversion guide.
// Open a PDF, .docx, .pptx, .xlsx, .doc, and more. documentViewController.openDocument(with: documentURL)
PTAnnotFlagfor more information) can optionally be respected when attempting to select and edit annotations. This option is found on the
PTPDFViewCtrlclass has a new
GetThumbAsync:completion:method for requesting page thumbnails that executes a completion block when the thumbnail is ready.
AppendVisualDiff:p2:opts:method. Please see our File comparison guide for more information and examples.
PTPDFViewCtrland thumbnail browser (
openDocument(with:)method on the
PTDocumentViewControllerclass has changed and no longer throws in Swift. Errors are now reported via the
PTPDFViewCtrlclass and the
PTAnalyticsHandlerAdapterclass has been deprecated in favor of the new
PTLocalizedStringmacro is now a function that is accessible from Swift.
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.
Upcoming webinar: How to add document collaboration to your appLearn More