Components for Developers
© 2000-2016, Two Pilots

PDF Library   Virtual Printer   Converters   Squirrel   HTML_QuickForm   Design Service

Two Pilots blog

New Version of PDF Creator Pilot Has Been Released.

July 31st, 2011

Our company released the next version of PDF Library – PDF Creator Pilot 4.3.3256. In the new version of PDF Library we improved a quality of converting EMF files to PDF documents. We’ve added new method DrawPageOnPage for grouping multiple pages on single page in the pdf documents. We improved the process of extracting text from pdf documents (see methods GetPageText, GetDocumentText). We fixing some bugs in interactive forms, in opening PDF files, in rasterizator, and more (you may see the history here).

Free version of PDF Library for C++, C#, Delphi, ASP, ASP.NET, VB, VB.NET, VBScript, PHP, Python you mau download here.

Artem Golubnichenko,
Two Pilots
http://www.colorpilot.com

The new PDF library from Two Pilots company

April 12th, 2011

Our company has released a new PDF library, which is a full featured library for creating and editing PDF files by easy and flexible way. The new name of the library is PDF Mosaic. We invite you to visit the site of library –  http://www.pdfmosaic.com/.
PDF Mosaic may modify, merge, and split existing PDF files, or move pages from existing PDF files into new PDF documents. The most important goal of the library – it’s easy to use.
Main features of the library:
Drawing: points, lines, boxes, circles, Bezier curves, polygons, stars, free form paths.
Text: Unicode support, insert hyperlinks.
Supports the insertion of the following image types: BMP, PNG, JPEG, TIFF.
You may download the latest version of the library from the site http://www.pdfmosaic.com/ or direct from this link – http://www.pdfmosaic.com/download/.

Artem Golubnichenko,
Two Pilots
http://www.colorpilot.com

Feature for grouping multiple pages on single page in the pdf document

March 17th, 2011

The library of PDF Creator Pilot has feature for combining 2, 3, 4, etc. pages in a single page in the pdf document. For this purpose, we added a function DrawPageOnPage, which has the following options:

srcPageIndex – Index of the source page;
destPageIndex – Index of the destination page;
left – The x-coordinate, in pixels, of the upper-left corner of the destination rectangle;
top – The y-coordinate, in pixels, of the upper-left corner of the destination rectangle;
width – The width, in pixels, of the destination rectangle;
height – The height, in pixels, of the destination rectangle.

An example of using this function. Assume that we have a pdf file with 4 pages and wish to draw  (group, fit) them on single page.

// PDF object is supposed to be created
// PDF file contains 4 pages A4
PDF->Open(“4pagesA4.pdf”, “”);

// Add a new page for drawing at end of document
PDF->NewPage();
PDF->PageSize = pfA4; // set any page size here

PDF->CurrentPage = 4; // index of new page
long height = PDF->PageHeight;
long width = PDF->PageWidth;

// Draw page on the page.
PDF->DrawPageOnPage(0, 4, 0.0, 0.0, width/2, height/2);
PDF->DrawPageOnPage(1, 4, width/2, 0.0, width/2, height/2);
PDF->DrawPageOnPage(2, 4, 0.0, height/2, width/2, height/2);
PDF->DrawPageOnPage(3, 4, width/2, height/2, width/2, height/2);

PDF->SaveToFile(“result.pdf”, true);

You may see the result of groupinf pages here: result.pdf

Artem Golubnichenko,
Two Pilots
http://www.colorpilot.com

Exif Pilot supports two interfaces

February 9th, 2011

The company  “Two Pilots”  has released a new version of Exif Pilot. Exif Pilot 4.3 – the advanced version of the Free EXIF-Editor, which allows one to review, edit and create EXIF and IPTC data not only in an application window, but also in Windows Explorer.

Exif Pilot is a Free EXIF-Editor which supports a paid Plug-in for Batch Editing of graphic files.Watch Full Movie Online Streaming Online and Download

The new version of the program has a number of improvements:
– a unique program which unites in itself two interfaces which work with EXIF, IPTC and XMP data;
– integration with the operating system, and extended capabilities to work with image metadata;
– a new type of export to MS Excel File (at the level of Tag-Names in the table)

ExportMSExcel

– convenience, simplicity and speed of use;

If you need to see, create, or edit EXIF, EXIF GPS or IPTC information, we recommend to you our new version of Exif Pilot.

Ira Cheredova,
Two Pilots
http://www.colorpilot.com

PDF Creator Pilot and VBA

January 26th, 2011

PDF Creator Pilot is a COM library and as all that libraries it may be used in a VBA (Visual Basic for Applications).

To use it in your macros you need to do the folowing:

  • Open the Macros dialog and select existing or create a new one
    m1
  • In the macros editor window add a reference to the PDF Creator Pilot library
    m2
  • In the References window find and check “PDF Creator Pilot Type Library” string
    m3
  • Now declare the variable and you are ready to use the PDF Creator Pilot
    m4

Max Filimonov,
Two Pilots Developers Team.

EMF to PDF Converter

January 20th, 2011

PDF Creator Pilot’s EMF converter is one of the best in the world. We are working on improving our EMF converter always. EMF to PDF feature can convert EMF (Enhanced MetaFile) to PDF document file for reading with Adobe Reader and other PDF Readers. For converting EMF files you need just call method PlayMetaFile. See example “How to Convert a Metafile to a PDF Using C++“. With EMF to PDF conversion, users can encrypt PDF documents, add password, compressing, text and images, etc.

Artem Golubnichenko,
Two Pilots
http://www.colorpilot.com

News from the PDF Library Laboratory

December 31st, 2010

We are working to improve the quality of pdf-files created by PDF Creator Pilot library.  Significant improvements have been made in that part of the library, which converts the emf-files in pdfs. Including:Watch Full Movie Online Streaming Online and Download

1. Fixed bugs with incorrect positioning for right text align in EMF.
2. Added support for “brush with hatch” style in EMF.
3. Improved working with the AlphaBlend function in EMF.

The latest version of the library PDF Creator Pilot 4.3.2000 is available for download:

PDF Creator Pilot 4.3.3200
PDF Creator Pilot 4.3.3200, x64 edition

Artem Golubnichenko.

New method: ShowTextParagraph

October 4th, 2010

We’re glad to introduce the new method ShowTextParagraph and it’s Unicode version – ShowUnicodeTextParagraph.

This method draws a text paragraph, this means that the library will automatically split the paragraph text to the lines to fit the page bounds, align text lines as needed and add a new PDF page if the text does not fit to the rest of the current PDF page.Watch Full Movie Streaming Online and Download

paragr

Here is a sample of how to use it (Visual Basic Script):

fnt = PDF.AddFont(“Arial”, false, false, false, false, fcDefault)
PDF.UseFont fnt, 14
PDF.ShowTextParagraph x, y, paJustify, interval, marginLeft, marginTop, marginRight, marginBottom, paragr_Text

So now, for example, you may convert your favourite text book to the PDF format for your eBook reader.

Here you may find Visual Basic Script samples that convert TXT file to a PDF (ASCII and Unicode versions):

  1. install the library,
  2. download and unpack scripts,
  3. run the script,
  4. get the PDF book.

Max Filimonov,
Two Pilots Developers Team.

How to use “PDF Creator Pilot” on x64 systems with Microsoft Visual Studio.

August 24th, 2010

There are two methods you can use to accomplish this in your .NET projects. Let’s suppose we have a C# project, and that “PDF Creator Pilot x64” is already installed.

Method #1

1) Open your project (or create a new one) and choose “Add Reference” in the Solution Manager (you can also do this from the main menu -> Project -> Add Reference…) and then select the “COM” tab.

2) In the component list find “PDFCreatorPilot Type Library” and press the “OK” button.

3) In the code file (*.cs) add this line:

using PDFCreatorLib;

and declare a variable somewhere in your code:

PDFDocument4 pdf = new PDFDocument4();
pdf.SetLicenseData(“demo”, “demo”);
// more code…

4) You may set project target type to “x64” or leave it as “Any CPU”.

If all is done correctly, the PDF Creator Pilot now will be available to you in your project.

In some cases developers may not be able to add a reference as shown in the example above. In that case we recommend that you manually register the COM dll (PDFCreatorPilot.dll) with an administrator’s credentials:

regsvr32 PDFCreatorPilot.dll

After this please restart the Visual Studio and try to add the reference again. If this does not help, then please use Method #2.

Method #2

1) We need to manually create an interop wrapper library for .NET from the “PDF Creator Pilot x64” COM library. Find please where the “PDFCreatorPilot.dll” (x64 version) is located and create a simple batch file with the following line:

“C:\Program Files\Microsoft SDKs\Windows\v6.xx\bin\TlbImp.exe” “full\path\to\PDFCreatorPilot.dll” /out:”Interop.PDFCreatorPilotLib.dll” /namespace:PDFCreatorLib /machine:X64

2) Launch this file. This will produce the “Interop.PDFCreatorPilotLib.dll” file which is an interop library for the COM dll.

Note: the TlbImp.exe is a standard Windows SDK utility. If you do not have it on your machine,  please install the Windows SDK from the Microsoft website: http://www.microsoft.com/downloads/details.aspx?FamilyID=6b6c21d2-2006-4afa-9702-529fa782d63b&displaylang=en

3) Open your project (or create a new one) and choose “Add Reference” in the Solution Manager (you can also do this from the main menu -> Project -> Add Reference…) and select the “Browse” tab. In the file list find “Interop.PDFCreatorPilotLib.dll” created in the previous step and press the “OK” button.

4) In the code file (*.cs) add this line:

using PDFCreatorLib;
/* PDFCreatorLib is a namespace you’ve specified as a parameter for TlbImp.exe. */

and declare a variable somewhere in your code:

PDFDocument4 pdf = new PDFDocument4();
pdf.SetLicenseData(“demo”, “demo”);
// more code…

5) You may set the project target type to “x64” or leave it as “Any CPU”.

If all is done correctly, the PDF Creator Pilot now will be available to you in your project.

You may download the sample project here. This project contains a manually created interop DLL, and a C# project that refers this interop.

Max Filimonov,
Two Pilots Developers Team.

Merge and Split PDFs with PDF Creator Pilot

August 17th, 2010

Do you need to split or merge PDF files and reorganize pages in your PDF documents? If yes, then PDF Creator Pilot library can help you do this. PDF Creator Pilot allows you to not only split, merge, and reorganize pages in your PDFs, but also to create tree-like outlines (bookmarks), annotations, watermarks, thumbnails, and interactive AcroForm elements for your PDF documents.

PDF Library has the following methods for splitting, merging, and reorganizing pages:

  • Append – This method appends the contents of a previously saved PDF file (not a BLOB) to a newly created (or opened) PDF document.
  • Open – This method opens an existing PDF document, then reads and parses its contents.
  • AddPage – This method creates a new PDF page, appending it to the end of the PDF document. It does not set the new page as current.
  • DeletePage – This method removes the specified page from a PDF document.

With the help of PDF Creator Pilot, you can easily and quickly manage your PDFs, reduce the size of PDF files, and quickly combine a group of files using the merge feature.

Artem Golubnichenko


PDF Library   Virtual Printer   Converters   Squirrel   HTML_QuickForm   Design Service

 

Support | Blog | Forum | Contacts | About | Site map

© 2000-2016, Two Pilots