PDFToolkit Pro

Features |  FAQ | History | Manual | Support | Buy! | Clients

Do you want to split, merge, encrypt or decrypt your PDF files? Do you want to convert images like tiff, jpg, png to pdf file? Do you want to stamp text or watermark images to PDF? Now all these can be done easily with PDFToolkit Pro.

PDFToolkit is an all in one PDF ActiveX. It can split, merge, encrypt and decrypt PDF easily. It is a standalone component and does not depend on Adobe Acrobat, or even Acrobat Reader.

By choosing PDF Toolkit Pro, it will bring a lot of benifits below:

  • PDF Encryption and Decryption:
    Both encryption and decryption are done by PDFToolkit Pro ActiveX Component itself without the need of installing additional software such Acrobat PDF Reader
  • PDF Split and Merge
    PDFToolkit Pro can be used to split files by pages, you can split the file into single pages or save every a few pages as a new file, it also can be used to merge multiple PDF files or selected pages from one or more files into a PDF file, preservation of original links, and form fields.
  • Convert Image to PDF
    PDFToolkit Pro supports multiple page TIFF files. It also supports various TIFF encodings: LZW, CCITT G3/G4, RLE etc. It can be used to merge multiple TIFF files into one PDF file.
  • Stamp Text and Image to PDF
    PDFToolkit Pro can be used to stamp PDF files, you can stamp PDF files with images such as JPEG, transparent PNG, TIFF and GIFs. And you can stamp text on your PDF files with customized size, location, font and color.
    PDFToolkit Pro can dump the PDF meta data information such as Author, Title etc. It also allows you to update such metadata information.
    PDFToolkit Pro can fill PDF forms in a quick and simple manner. It also supports flattening the PDF file.

Free Download & Try Now Play the demo version before purchase without any risk!
Buy Now
. Get the registration code instantly. $450 For Single Developer License

PDFToolKit Pro can be easily integrated into applications written in languages that support ActiveX Component such as Visual C++, Visual Basic, Delphi, C++ Builder, .Net languages,  Java, Scripts like Perl, Php, Python.

PDFToolKit Pro is written in .Net, you can integrate it into your web application written in .net language like ASP.Net etc. Registered version can be deployed or redistributed FREE

Testimonials

"The Best Program Of Its Kind On The Market!"

Nice features - we can script on the fly to split our PDF files
    - Bill

Unsure? Unconvinced? I understand. We'll also throw in FREE tech support

But if you're still not sure, try it out for FREE !

We are committed to improving PDFToolkit Component constantly. See History

Want other PDF development component products? Look at PDF Split and Merge, TIFF To PDF, PDF Security , PDF Stamper

Highlight Features:

  • Encrypt PDF, decrypt PDF
  • Supports PDF user password and owner password protection
  • Password protect opening of the PDF document
  • Disable printing of the PDF document
  • Disable copying of text/graphics
  • Disable modifications to PDF the document
  • Password protection for PDF files with 40 or 128 bit encryption
  • Detect if PDF file is encrypted or not
  • Split PDF files into multiple files by range
  • Merge multiple PDF files into one PDF
  • Standalone, doesn't depend on Adobe Acrobat or Reader
  • Get PDF page number
  • Provide demos in ASP, ColdFusion, VB, VB Script, Delphi, VB.Net, C#, ASP.Net.
  • More demos in other languages on request
  • Convert TIFF files to PDF
  • Support single or multiple page TIFF
  • Support various TIFF encoding such as CCITT G3/G4, LZW, RLE and uncompressed
  • Merge multiple TIFF files into one PDF
  • Support image scaling so that you can put scanned tiff into pdf with the proper page size
  • Support converting jpg, jpeg, png, gif, bmp to tiff or tif format.
  • Standalone, doesn't depend on Adobe Acrobat or Reader
  • Stamp PDF files with images
  • Support JPG, TIFF, transparent GIF and PNG
  • Stamp text on PDF
  • Support customization of Stamp position, font size and color
  • Support TrueType fonts
  • Standalone, doesn't depend on Adobe Acrobat or Reader
  • Support batch text stamps
  • Fill PDF forms
  • Flattern PDF file

Version:

3.0.2010.220

Keywords:

split pdf, merge pdf, encrypt pdf, decrypt pdf, pdf encryption, pdf decryption, encrypted pdf, secure pdf, add password to pdf, tiff to pdf, convert tiff to pdf, tiff to pdf converter, convert pdf to jpg, convert pdf to jpeg, convert pdf to tiff, convert pdf to png, stamp pdf, pdf stamper, stamp pdf with image, fill pdf form, flattern pdf

System Requirements:

Windows Platform with .Net framework 2.0. including Windows 2000, XP, Vista, 7 and Server 2003, 2008 etc.

Methods:

LONG EncryptPdf(String inputFile, ENCRYPTTYPE eEncryptType, LONG ePermission, String strOwnerPasswd, String strUserPasswd, String strOutFile);

Description: encrypt PDF

inputFile: the source unencrypted PDF file

eEncryptType: enumerator type, can be EC_40 or EC_128 for 4o-bit or 128 bit encryption

EC_40 = 0
EC_128 = 1

ePermission: bitwise type to set the permission on the PDF file. The possible value can be:

PS_ALLOWDEGRADEDPRINTING = 4, //to allow degraded printing
PS_ALLOWMODIFYCONTENTS = 8, //to allow modifying contents
PS_ALLOWCOPY = 16, //to allow copying
PS_ALLOWMODIFYANNOTATIONS = 32, ///to allow modification annoations
PS_ALLOWFILLIN = 256, //to allow fill in forms
PS_ALLOWSCREENREADERS = 512, //to allow screen reader
PS_ALLOWASSEMBLY = 1024, //to allow assmember
PS_ALLOWPRINTING = 4 + 2048 //to allow printing

The value can be bitwise OR together or added to set multiple permission.

strOwnerPasswd: owner password

strUserPasswd: user password

strOutFile: outout secure PDF

return value: a long value returned by the function

SUCCESS = 0,
BADPASSWORD = -2,
UNEXPECTED = -3,

LONG DecryptPdf(String inputFile, String strPasswd, String strOutFile);

Description: try to decrypt PDF with the password

Description: encrypt PDF

inputFile: the source unencrypted PDF file

strPasswd: the owner or user password

return value: a long value returned by the function

SUCCESS = 0,
BADPASSWORD = -2,
UNEXPECTED = -3,

LONG IsEncrypted(String inputFile);

Description: try to decrypt PDF with the password

Description: tell if a PDF is encrypted or not

inputFile: the source unencrypted PDF file

return 1 for encrypted pdf, 0 for unencrypted pdf file, else return nagative error.

Split(String inputPdf, String split Ranges, String outputPdf)

Description: Split pdf into serveral PDF files by page range.
Parameters:
inputPdf: the pdf to be split
splitRanges: Ranges is defined by page ranges. Each range of pages will be split into a new output pdf. Ranges are separate by character ";". For example, "1;1;1", will generate three pdfs which contains the first page of the inputPdf. "1;2;3;4;1-2,3-4;1", the fifth output pdf will be made up of the 1, 2, 3, 4 page of inputPdf.
outputPdf : output pdf is named with numbers. The name could be "output%d".pdf or "%d.pdf", the component will automatically replace the "%d" with the number of output pdf file in those strings.

Merge(String inputPdfs, String outputPdf)

Description: merge several pdf files into a big pdf file.
Parameters:
inputPdfs: the pdfs to be merged. The files are separated by character "|". For each file, a range can be specified too. For example, "1.pdf|2.pdf" can be used to merge the two pdf files. "1.pdf?1-2|2.pdf?3-4" can be used to merge the 1-2 and 3-4 page of the 1.pdf and 2.pdf.
outputPdf: the output pdf file

LONG GetNumberOfPages(String pdfFile, String password)

Description: get the page number of a pdf file
Parameters:
pdfFile: the pdf file
password: password for opening the pdf. If no password, just pass a empty string "".

ConvertTiffToPDF(String inputTiffs, String outputPdf)
inputTiffs: the tiffs to be merged. The files are separated by character "|".
outputPdf: the output pdf file

SetCode(String code)
code:
the registration code

SetImageScaleRatio(LONG xScalePercent, LONG yScalePercent)
xScalePercent:
the percent of PDF DPI ration (72) against the orignal image x DPI
yScalePercent: the percent of PDF DPI ration (72) against the orignal image y DPI

ConvertImageToTiff(String strInputImage, String strOutputImage, LONG nTiffEncoding)
strInputImage:
input image, can be jpg, jpeg, png, bmp and gif
strOutputImage: output tiff image name
nTiffEncoding: encoding type of tiff

0 is for lzw
1 is for ccitt-3
2 is for ccitt-4
3 is for rle
4 is for none compression.
1-3 needs the input image to be mono color.

AddWatermark(String strInPdf, String strOutPdf, String strImgFile, LONG x, LONG y, LONG rotation, LONG bUnderContent);

Description: stamp jpg, png, gif or tiff image watermark on pdf file
Parameters:

StrInPdf: the input pdf file
StrOutPdf: the output pdf file
strImgFile:the image to stamp
x
: the stamp position x. the left and bottom is at (0,0)
y: the stamp position y
rotation: the font rotation angle in degree
bUnderContent: if it is not zero, the stamp is at the under layer. Or else the stamp will be on the top.

String DumpPDFInfo(String strPDF, String strPasswd)

Description: dump or extract pdf meta data information
Parameters:

StrInPdf:
the input pdf file
StrPasswd: the password to the pdf. if no password, just pass empty string "".

UpdatePDFInfo(String strInFile, String strPasswd, String strInfo, String strOutFile);

Description: update or modify pdf meta data information
Parameters:

StrInPdf:
the input pdf file
StrPasswd: the password to the pdf. if no password, just pass empty string "".
StrOutPdf: the output pdf file

StampAddText(String strInFile, String strOutFile, String strFontName, String strText, LONG x, LONG y, LONG fontSize, LONG alignment, LONG color, LONG rotation, LONG bUnderContent);

Description: stamp text on pdf file
Parameters:

StrInPdf:
the input pdf file
StrOutPdf: the output pdf file
strFontName: font name. It can be "COURIER", "HELVETICA", "TIMES_ROMAN" or a file path to the true type font such ash ""c:\windows\fonts\arial.ttf"
strText: the text to stamp
x
: the stamp position x. the left and bottom is at (0,0)
y: the stamp position y
fontSize: font size in point
alignment: can be 0, 1 or 2. Representing for left, center or right.
color: RGB color. The lowest byte is for red
rotation: the font rotation angle in degree
bUnderContent: if it is not zero, the stamp is at the under layer. Or else the stamp will be on the top.

SetPageMask(String strMask);

Description: set the page mask string to define which page can be stamped on
Parameters:


strMask:
a string of 0 and 1 to tell which page will be stamped on. The length of string can be less or equal to the page number of the PDF. For example, "1000" denotes that, the 2, 3, 4 of the pdf page will not be stamped.
If the strMask is empty string, means text/watermark will apply to all pages.

LONG GetNumberOfPages(String pdfFile, String password)

Description: get the page number of a pdf file
Parameters:


pdfFile: the pdf file
password: password for opening the pdf. If no password, just pass a empty string "".

ClearStamps

Description: clear batch text stamps

AddStamps(String strFontName, String strText, LONG x, LONG y, LONG fontSize, LONG alignment, LONG color, LONG rotation, LONG bUnderContent,String strMask);

Description: add batch text stamps
Parameters:

strFontName: font name. It can be "COURIER", "HELVETICA", "TIMES_ROMAN" or a file path to the true type font such ash ""c:\windows\fonts\arial.ttf"
strText: the text to stamp
x
: the stamp position x. the left and bottom is at (0,0)
y: the stamp position y
fontSize: font size in point
alignment: can be 0, 1 or 2. Representing for left, center or right.
color: RGB color. The lowest byte is for red
rotation: the font rotation angle in degree
bUnderContent: if it is not zero, the stamp is at the under layer. Or else the stamp will be on the top.
strMask: a string of 0 and 1 to tell which page will be stamped on. The length of string can be less or equal to the page number of the PDF. For example, "1000" denotes that, the 2, 3, 4 of the pdf page will not be stamped.

ApplyStamps(String strInFile, String strOutFile);

Description:add batch text stamps on a pdf file
Parameters:

StrInPdf:
the input pdf file
StrOutPdf: the output pdf file

ClearFormFields

Description: clear form fields

ApplyForm(String strInFile, String strOutFile, LONG bFlatten);

Description:Apply form fill action
Parameters:

StrInPdf:
the input pdf file
StrOutPdf: the output pdf file

bFlatten: make the output file flatten or not

AddFormField(String strFieldName, String strFieldValue)

Description:add form field to be filled
Parameters:

strFieldName: the form field name
strFieldValue: the form vield value

AddWatermarks(String strImageFile, LONG x, LONG y, LONG rotation, LONG bUnderContent, LONG xRatio, LONG yRatio, String strPageMaskString)

Description: add watermarks in batch, this function will add one image to be applied.
Parameters:
strImgFile:the image to stamp
x: the stamp position x. the left and bottom is at (0,0)
y: the stamp position y
rotation: the font rotation angle in degree
bUnderContent: if it is not zero, the stamp is at the under layer. Or else the stamp will be on the top.
xRatio: the scaling ratio of the image width
yRatio: the scaling ratio of the image height

strMask: a string of 0 and 1 to tell which page will be stamped on. The length of string can be less or equal to the page number of the PDF. For example, "1000" denotes that, the 2, 3, 4 of the pdf page will not be stamped. If the strMask is empty string, means watermark will apply to all pages.

ClearWatermarks()

Description:clear the image watermarks added by AddWaterMarks

ApplyWatermarks(String strInFile, String strOutFile)

Description:apply image watermarks added by AddWaterMarks. This is batch operation. All the images are applied on the input PDF file.
Parameters:

StrInPdf: the input pdf file
StrOutPdf: the output pdf file

Redistribution:

The files that need to redistribute PDFToolkit Pro Component with applications are:

PDFToolkitPro.dll: the component itself. It needs to be registered as ActiveX by regasm.exe or setup program.

PDFKit2.dll: the underline PDF library

Once registered, you can redistribute PDFToolkit Pro Component royalty-freely. (For details about redistribution, please refer to the license agreement)


Support:

If you have any questions or suggestions regards to PDF Toolkit Pro. Please feel free to email us:

Guangming Software

admin@guangmingsoft.net 

FAQ:

1. How do I register PDFToolkit Pro?
Answer: Once you buy the PDFToolkit, a registration code will be sent to you by email.

2. Can you do custom development for special usage?
Answer: Sure. Please tell us what you need and we can discuss a cost, and then develop custom version on schedule just for you.

History:

02/10/2010 2010 update, fixes a coupe of bugs
05/01/2009 2009 First release, PDF Toolkit Pro is the complete rewritten for our PDF component with .Net framework