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 [...]
The UIExtension Component of Foxit PDF SDK for Android, iOS and UWP uses a “module-based” architecture, which refines each feature into a module. All of the modules except LocalModule (used for file management) will be loaded by default if you add UIExtension to your Foxit PDF SDK for Android, iOS and UWP. You can customize [...]
Features Foxit PDF SDK for Web is a cross-platform solution for PDF online viewing. Foxit PDF SDK for Web enterprise edition has been chosen by many of the world’s leading firms for integration into their solutions. This article will outline and describe the features provided by Foxit PDF SDK for Web. PDF Viewing Foxit PDF [...]