Insights, tutorials, and updates from the Foxit PDF SDK engineering team.
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 [...]
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 [...]
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 [...]
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 [...]
There are two ways to help you insert an image into a PDF file. The first one is calling PDFPage.addImageFromFilePath interface. You can refer to the following sample code which inserts an image into the first page of a PDF file: Note: Before calling PDFPage.addImageFromFilePath interface, you should get and parse the page that you [...]
To add a link annotation to a PDF file, you should first call the PDFPage.addAnnot to add an annotation to a specified page, then call Action.Create to create an action, and set the action to the added link annotation. Following is the sample code for adding a URI link annotation to the first page of [...]
To display a specified page when opening a PDF file, the interface gotoPage (int pageIndex) should be used. Foxit PDF SDK for Android utilizes multi-thread to improve rendering speed, so please make sure the document has been loaded successfully before using the gotoPage interface. Please implement the callback interface in the IDocEventListener, and then call [...]
Foxit PDF SDK for Android provides multiple interfaces to open a PDF document. You can open a PDF document from a specified PDF file path, or from a memory buffer. For from a specified PDF file path, there are two ways to do that. The first one is that just use the openDoc interface, which [...]
Foxit PDF SDK’s new product release provides great new features as well as saves time and money through supporting new development frameworks FREMONT, Calif. – (August 23, 2018)— Foxit Software, a leading software provider of fast, affordable, and secure PDF solutions, today announced the release of Foxit PDF SDK (Software Development Kit) 6.1. This update to [...]
Foxit PDF SDK has full support for frameworks like Kotlin & React Native, as well as for Associated Files & Embedded fonts