[Podofo-users] Adding text to an existing document
A PDF parsing, modification and creation library.
Brought to you by:
domseichter
|
From: Pantxo D. <pan...@gm...> - 2016-11-28 14:48:06
|
Hi, I have pdf documents which are generated using gl2ps [1], on which I would like to superimpose text. As a first test, I used the provided example helloworld.cpp, which I modified as follows: * use a PdfMemDocument (instead of a PdfDocument) and load an existing pdf file. * use the Write method to export the modified pdf As a result I get a pdf that has been modified (at least its size on the disk is larger) and can be loaded, but the "hello world!" is no where to be found. What am I doing wrong? I played with the position arguments in DrawText to no avail. Thanks in advance, Pantxo |