Developer Posts

What should I do if I want to display a specified page when opening a PDF document using PDF SDK for iOS?

by Conor Smith | August 29, 2018
To display a specified page when opening a PDF file, the interface [pdfViewCtrl gotoPage: (int) animated: (BOOL)] should be used. Foxit PDF SDK for iOS utilizes multi-thread to improve rendering speed, so please make sure the document has been loaded successfully before using the gotoPage interface. The first one is that making a conditional statement […]
Keep reading Keep reading

What is Bitcode? Does Foxit PDF SDK for iOS support Bitcode?

by Conor Smith | August 29, 2018
Bitcode is an intermediate representation of a compiled binary. Including bitcode will allow Apple to re-optimize your app binary in the future without the need to submit a new version of your app to the store. Yes. Foxit MobilePDF SDK for iOS supports Bitcode since version 3.0.
Keep reading Keep reading

How can I set the night mode color?

by Conor Smith | August 29, 2018
From version 5.1, Foxit PDF SDK for Android supports setting the night mode color as desired. To set the night mode color, you should call the PDFViewCtrl.setMappingModeBackgroundColor(int) and PDFViewCtrl.setMappingModeForegroundColor(int) APIs to set the color as you wish, then set the color mode by using PDFViewCtrl.setColorMode(int). Note: If the color mode is already set to Renderer.e_ColorModeMapping, […]
Keep reading Keep reading

How to print a PDF document using Foxit PDF SDK for Android?

by Conor Smith | August 29, 2018
Foxit PDF SDK for Android supports the print feature since version 5.1. You can press the Wireless Print button on the More Menu view in the Complete PDF viewer demo to print the PDF document. Furthermore, you can call the following API to print the PDF documents: // for iPhone and iTouch public void startPrintJob(Context […]
Keep reading Keep reading

How to perform Indexed Full-Text Search in Foxit PDF SDK for Android?

by Conor Smith | August 29, 2018
Foxit PDF SDK for Android supported Indexed Full Text Search since version 5.0. To use this feature, follow the steps below: 1) Get document source information. Create a document source based on a directory which will be used as the search directory. public DocumentsSource(String directory) 2) Create a full text search object, and set a […]
Keep reading Keep reading

How to highlight form fields and set form field highlight color?

by Conor Smith | August 29, 2018
The UIExtensionsManager.enableFormHighlight() interface is provided to set whether to enable highlighting the links in PDF documents. By default, the form fields will be highlighted. If you do not want to highlight form fields, please set the parameter to “false” as follows: // Assume you have already Initialized a UIExtensionsManager object uiExtensionsManager.enableFormHighlight(false); The UIExtensionsManager.setFormHighlightColor() interface is […]
Keep reading Keep reading

How to highlight links and set link highlight color in PDF documents?

by Conor Smith | August 29, 2018
The UIExtensionsManager.enableLinkHighlight() interface is provided to set whether to enable highlighting the links in PDF documents. By default, the links in PDF documents will be highlighted. If you do not want to highlight links, please set the parameter to “false” as follows: // Assume you have already Initialized a UIExtensionsManager object uiExtensionsManager.enableLinkHighlight(false); The UIExtensionsManager.setLinkHighlightColor() interface […]
Keep reading Keep reading

License key and serial number don’t work after trial download

by Conor Smith | August 29, 2018
Generally, the package uploaded to the website is supposed to work. It has been tested before it is uploaded. So, if you find the license key and serial number won’t work, it may be caused by the time of your device. If the device’s time is earlier than the StartDate in the rdk_key.txt file found […]
Keep reading Keep reading
Used everywhere

Trusted by