PDF
int
doc, page, pageno = 1;
char
*filename = "input.pdf";
...
doc = PDF_open_pdi(p, filename, "", 0);
if (doc == 1) {
printf("Couldn t open PDF input file %s \n", filename);
exit(1);
}
page = PDF_open_pdi_page(p, doc, pageno, "");
if (page == 1) {
printf("Couldn t open page %d of PDF file %s \n", pageno, filename);
exit(2);
}
/*
adjustpage
*/
PDF_begin_page(p, 20, 20);
PDF_fit_pdi_page(p, page, 0, 0, "adjustpage");
PDF_close_pdi_page(p, page);
...
PDFlib
...
PDF_end_page(p);
PDF_fit_pdi_page( )
PDF
PDF_fit_pdi_page( )
>
>
5.2 PDI PDF
PDF
149
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved