Frameworks
React Native
Flutter
Package samples
Cookbook
Version 11
Version 10
Version 9
Version 8
Version 7
Version 6
Version 5
If you have integrated the document viewer previously in your app (i.e. DocumentActivity
or PdfViewCtrlTabHostFragment
), you can easily migrate to use the new UI with a couple of simple steps.
ViewerBuilder
to ViewerBuilder2
. This new builder will create the new viewer fragment PdfViewCtrlTabHostFragment2
, which contains the new UI.PdfViewCtrlTabHostFragment
to PdfViewCtrlTabHostFragment2
in your project.PdfViewCtrlTabFragment
to PdfViewCtrlTabFragment2
in your project.CustomAppTheme
style to customize your theme, you will need to change this style to extend PDFTronAppTheme
and pass it into ViewerBuilder2
as described in our customize viewer theme guide.DocumentActivity.openDocument(...)
.DocumentActivity.IntentBuilder
as described in this guide.CustomAppTheme
style to customize your theme, you will need to change this style to extend PDFTronAppTheme
.Did you find this helpful?
Trial setup questions?
Ask experts on DiscordNeed other help?
Contact SupportPricing or product questions?
Contact Sales