April 2017

Can I extract text from PDF files using Foxit PDF SDK?

by Conor Smith | April 5, 2017
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: samples\simple_sample\pdf2text\pdf2text.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 […]
Keep reading Keep reading

Requirements for using Foxit PDF SDK Rasterizer for .net SDK

by Conor Smith | April 4, 2017
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 […]
Keep reading Keep reading

How to create a new document to add a single page on Foxit Merger for .NET SDK?

by Conor Smith | April 4, 2017
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.
Keep reading Keep reading

How to convert a text file to PDF?

by Conor Smith | April 4, 2017
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 […]
Keep reading Keep reading

Foxit PDF SDK 4.x/5.x module breakdown

by Conor Smith | April 4, 2017
Break down of the Module package. Note: Please read the list like this “Module package – Module included.” Standard  – Renderer, Image (write for Bitmap only),  PDF Base, PDF Document(Read), PDF Async(read), PDF Page (Read), PDF Object (Read), PDFTextPage(Read), PDF Reflow(Read), App, Base Edit – Image(Read), PDF Document(Write), PDF Page(Write), PDF Object(Write), PDF Page Object(Write) […]
Keep reading Keep reading

How to use Foxit PDF SDK ActiveX in C# or VB?

by Conor Smith | April 4, 2017
Follow the steps outlined to use Foxit PDF SDK ActiveX in C# or Visual Basic: Open Visual Studio 2010/2013 Select File -> New ->Project -> Visual C# or Visual Basic -> Windows -> Windows Forms Application -> OK Select Tools -> Choose Toolbox Items-> COM Components Check “FoxitPDFSDK Pro Control” -> OK Note: If “FoxitPDF Pro […]
Keep reading Keep reading

List of the common problems with licensing and getting a watermark.

by Conor Smith | April 4, 2017
Sometimes even after licensing Foxit PDF SDK ActiveX you can still get a watermark on your PDF files. The most common problems causing that are described below: License is not applied correctly. Please call UnlockActiveX after the ActiveX component initialized.  Please also check if there is spacing in the unlock code that shouldn’t be there. axFoxitPDFSDK1.UnLockActiveX("XXXXXXXXXXX", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"); […]
Keep reading Keep reading
Used everywhere

Trusted by