Insights, tutorials, and updates from the Foxit PDF SDK engineering team.
To fix these errors in Foxit PDF SDK, follow the steps below: In Visual Studio’s “Solution Explorer” right click on the project with the error and select properties Select Configuration Properties ->General Set “Platform Toolset” to “Visual Studio 2010 (v100)” Note: This article refers to a deprecated version of a Foxit Product. If you are [...]
Outline and Bookmarks are the same in PDF. Please see the header file fpdf_document_r.h and locate the method starting with FSPDF_Bookmark_XXX. Function with the naming convention FSPDF_Bookmark_XXX are the function that will allow user to extract bookmark information. Note: This article refers to a deprecated version of a Foxit Product. If you are still using [...]
The 64-bit version of Foxit PDF SDK ActiveX is located in the bin folder with the 32-bit version, but includes x64 in the filename.
Basically, you have two options to use Foxit PDF SDK ActiveX component with Visual Basic. Both are described above: Option A: Open Excel or Access Select DEVELOPER->Visual BasicNote: If you do not have the Developer tab. Go to File->Option->Customize Ribbon-> Check the Developer tab to add it In the Microsoft Visual Basic for applications, select [...]
Calling the function ShowTitleBar(false) will remove the header panel that appears above the toolbar on the Foxit PDF SDK ActiveX component. ShowTitleBar() Description: Show or hide the title bar. Prototype: void ShowTitleBar(BOOL bShow) Parameters: bShow: A flag specifying specify whether to show the title bar. TRUE - Show the title bar. FALSE - Hide the title bar. [...]
Yes. Text extraction from a PDF can be done by calling the FSPDF_TextPage_ExportToFile function using C++. Download Foxit PDF SDK 4.1 and get the demo at: samplessimple_samplepdf2textpdf2text.cpp FS_RESULT FSPDF_TextPage_ExportToFile(FSPD_TEXTPAGE textPage, FSCRT_FILE file) Parameters: textPage - Handle to FSPD_TEXTPAGE object returned by function PSPDF_TextPage_Load file - Handle to a FSCRT_FILE object which can be a file object or [...]
To deploy your application using XCOPY, it is prerequisite to have Microsoft Visual C++ 2008 Redistributable Package for .NET 2.0/3.0/3.5 application and Microsoft Visual C++ 2010 Redistributable Package for.NET 4.0/4.5 application. To deploy the application using your own setup program, it is required to include the following redistributables (Merge modules) which need to be installed [...]
To create new documents, merge or add pages to a document, follow the steps outlined below: MergeDocument document = new MergeDocument(); PdfDocument sourcePDF = new PdfDocument( “C:\ImportPDF.pdf” ); document.Append(sourcePDF, 1, 1); Note: This can be used to split up a PDF document. You must create an additional document to append additional pages.
After you apply your license, sometime the watermark stays on your exported documents. Follow these steps to fix that issue: 1) Get the watermark code on the top of the PDF. 2) Use the following information to find out the reason for the watermark. [X : Y : s/d Z : v2.0] X – Indicates [...]
To make text to PDF files conversion, follow the steps outlined below: Extract the text from the text file. Add the extracted text to a PDF using the TextArea class.Here is an example that adds “Hello World!” to a PDF. // Create a PDF Document Document document = new Document(); // Create a PDF Page [...]