AddPageNumberToPDFFile

Does anybody know, how to use the function AddPageNumberToPDFFile of pdfforge.dll? I tried to insert the page numbers but I get only a static string on my document.

I am having the same issue using the AddPageNumberToPDFFile function.  Can only seem to get a static string displayed on the document.