Developer Posts

How to use Foxit PDF SDK ActiveX with Visual Basic

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

How to remove the Foxit PDF SDK ActiveX Professional header?

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

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
Used everywhere

Trusted by