Page 1 of 1

Draw a text in a PDF file - Visual Basic 6

Posted: Fri Oct 29, 2021 5:17 pm
by maxvalt
Hi,
I have to modify an old vb6 project, I should insert a text for each page in a PDF.
Unfortunately I only have the licensed components but not the documentation and I don't understand how to do it
Can anyone help me ?
Thanks in advance

Re: Draw a text in a PDF file - Visual Basic 6

Posted: Tue Nov 02, 2021 4:11 pm
by Fabio
Hello,

If your need is to set automatically a text annotation within your document, this documentation with a code snippet should be enough to complete the task: https://www.gdpicture.com/guides/gdpict ... Annot.html

If you face any issues or have any questions I'm here!

Regards,
Fabio

Re: Draw a text in a PDF file - Visual Basic 6

Posted: Wed Nov 17, 2021 6:45 pm
by maxvalt
Thanks Fabio
do you speak italian ? ;-)
I need to have a visual basic 6 code.....
I'm sorry for the delay in replying but I have not received any notice on my email ...massimo.valtolina@pantarei-si.it

I have this old version.... GdPicture Pro 5 - Imaging ToolKit 5.13.0.9

Re: Draw a text in a PDF file - Visual Basic 6

Posted: Thu Nov 18, 2021 12:03 pm
by Fabio
Hello Massimo,

Sadly no as my first name let suggests it.

I'm not really familiar with Visual Basic 6, but does the VB.NET code sample in our documentation is not enough as an example to achieve what you want to implement?

With best,
Fabio

Re: Draw a text in a PDF file - Visual Basic 6

Posted: Thu Nov 18, 2021 4:47 pm
by maxvalt
Unfortunately not.
I should put an inscription on the first sheet of a pdf document ...
and I don't understand how to do it in vb6 ....
patience

Re: Draw a text in a PDF file - Visual Basic 6

Posted: Thu Nov 18, 2021 6:48 pm
by Fabio
If you want we have a sample in VB6 here: [installation folder]\GdPicture.NET 14\Samples\GdPicture\WinForm\vb6 using com interop
May it will give you an idea about the implementation.

If you do not have the sample in the installation folder, you'll need to upgrade your GdPicture SDK. (We're on version 14 now)

With best,
Fabio

Re: Draw a text in a PDF file - Visual Basic 6

Posted: Fri Nov 19, 2021 11:05 am
by maxvalt
hank you for the idea.
Good day