Hi all
For many years I was using PDFCreator 1.7.3 with office 32 bits. Actually, Windows 11 explorer (64 bits) do not allow previewing for docs while using office 32 bits. So I will migrate to last release of PDFCreator.
Then, I actually don't know how to replace some function previously provided by object pdfforge.pdf.pdf, or pdfforge.pdf.pdftext as
Set Pdf = CreateObject("pdfforge.pdf.pdf")
Set PdfText = CreateObject("pdfforge.pdf.pdftext")
then using
PdfText.FontName = "Calibrib.ttf"
PdfText.FontSize = 8
PdfText.YPosition = 3
PdfText.Text = 'Some text' ' or "Page [PAGE] / [PAGES]" for paging
Pdf.NumberOfPages('FileName')
Pdf.mergePDFFiles_2 (LstPdf), 'DestFileName', True
Pdf.AddPageNumberToPDFFile InFileName, OutFileName, FromPg, ToPg, StartNum, ToNum, Pos, PosX, PosY, (PdfText)
So how to set text style (font, size, ...), content and position and place this object into pdf file with new object model as
Pdf.AddPageNumberToPDFFile 'InFile', 'OutFile', FrPg, ToPg, StartNum, ToNum, Pos, PosX, PosY, (PdfText)
did ?
How to get page count for a PDF file (just a file, not a printing job) as
Pdf.NumberOfPages('FileName')
did ?
How to merge a list of pdf files (in an arry) to one destination file as
Pdf.mergePDFFiles_2 (LstPdf), 'DestFileName', True
did ?
Please help with some vba sample