![]() |
| | #1 |
| Unregistered User Join Date: Sep 2005 Location: Antarctica
Posts: 341
| A free TIFF to PDF library Here's a link to my page on it: http://www.dreamsyssoft.com/tiff-to-pdf-api/ Here's how you would use it in your code: Code: //Create a PDF object for tiff 2 pdf conversion...
PDF_HANDLE hPdf = DSSPDF_New("My PDF", "Rocky's Producer");
//Create a section (bookmark in the pdf) and add 2 pages to it.
SECTION_HANDLE hSec = DSSPDF_AddSection(hPdf, "Section 1");
DSSPDF_AddFilePage(hSec, "c:\\test1.tif");
DSSPDF_AddFilePage(hSec, "c:\\test2.tif");
//Create another section and add 2 pages to it.
hSec = DSSPDF_AddSection(hPdf, "Section 2");
DSSPDF_AddFilePage(hSec, "c:\\test3.tif");
DSSPDF_AddFilePage(hSec, "c:\\test4.tif");
//Save the PDF
DSSPDF_Save(hPdf, "c:\\test.pdf");
//Free the PDF data (this includes all the sections as well).
DSSPDF_Free(hPdf);
__________________ -- Rocky -- DreamSys Software (http://www.dreamsyssoft.com) -- Free Tiff 2 PDF Library (http://www.dreamsyssoft.com/tiff-to-pdf-api) |
| rockytriton is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Makefile for a library | sirmoreno | Linux Programming | 5 | 06-04-2006 04:52 AM |
| Program that displays amount of free memory | trancedeejay | Linux Programming | 3 | 01-13-2006 01:27 PM |
| difference between dynamic link library and static library | studentc | C Programming | 19 | 01-12-2006 11:04 AM |
| very weird .h problem | royuco77 | C++ Programming | 1 | 09-11-2005 07:55 AM |
| Free MIT courses via web. | Justin W | A Brief History of Cprogramming.com | 4 | 11-15-2001 09:41 PM |