Insights, tutorials, and updates from the Foxit PDF SDK engineering team.
When using IIS to run Foxit PDF SDK for WEB, we may encounter some resource file parsing errors that lead to access failure. At this time, we need to configure the MIME type of IIS. Let’s take Windows Server 2019 for example, here are the steps: 1. Open the Microsoft IIS management console, then select [...]
Yes. However, Foxit Merger for .NET SDK does not flatten images, stamps, text and comment boxes.
By default, digital signatures will be flattened along with all the other form fields in the PDF. If you wish to retain the digital signatures during the flattening, you can use the DigitalSignatures property of FormFlatteningOptions. Adding the following line to the above example would retain all the digital signatures. Using Visual Basic: document.Form.SignatureFieldsOutput = [...]
The following examples demonstrates how to flatten an individual form field within a PDF: Using Visual Basic: Dim document As MergeDocument = New MergeDocument("C:AcroForm.pdf") document.Form.Fields(0).Output = FormFieldOutput.Flatten document.Draw(@"C:AcroForm_Flattened.pdf"); Using C#: MergeDocument document = new MergeDocument(@"C:AcroForm.pdf"); document.Form.Fields[0].Output = FormFieldOoutput.Flatten; document.Draw(@"C:AcroForm_Flattened.pdf");
Flattening the form fields of a PDF is the process that will take the values of the form fields, add them to the actual PDF stream and then remove all of the form field structures from the document. The advantages of flattening form fields are that you achieve a PDF that is simpler and smaller [...]
With a developer license of Foxit .NET SDKs, your unique license key is embedded in your application or added with one line of code when your application starts.
Yes. The function openFileByUri can open a file from a URL: params = { url: the file url} WebPDF.ViewerInstance.openFileByUri(params)
Is it possible to retrieve a file from an external server using WebPDF Viewer? Yes. To achieve the file retrieve using WebPDF Viewer, follow the steps below: 1 – Deploy your own document server. We provide Foxit WebPDF users with a Java sample code for reference. It is available in ‘webpdfsamplewebpdf-extension-sample’, specifically , DocumentController.java 2 – Modify the javascript file apiConfig.js [...]
When a file has errors opening exclusively on Microsoft Edge or IE, most times it is related to the initialization of the REST API. To fix that, you need to call the WebPDF.ViewerInstance.updateCurrentUserInfo() to make sure the API is running successfully and generating an Access Token. You can find the front-end WebPDF Viewer example code [...]
Flutter is Google’s own framework for cross-platform mobile development. It was built using Dart, a portable and easily scalable Google programming language. Most efficient in the development of Android and iOS apps, Dart also has the same abstraction level as Javascript, which makes developing its apps to the Web effortless. This section will help you [...]