Hello, we are using aspose.pdf.kit.dll version 3.5 to add a logo text by method AddStamp something like this:
'Set the file names of the input and output PDF files
Dim inFile As String = “example1.pdf”
Dim outFile As String = “StampLogo.pdf”
Dim aStamp As Stamp = New Stamp()
aStamp.BindLogo(New FormattedText(“Hello Aspose.Pdf.Kit!”))
aStamp.IsBackground = False
aStamp.Pages =New Integer(){2,3}
aStamp.Rotation = 90
aStamp.SetOrigin(50,50)
Dim stamper As PdfFileStamp = New PdfFileStamp(inFile, outFile)
stamper.AddStamp(aStamp)
stamper.Close()
Everything works fine except bookmarks in resulting PDF are broken. It replaces some czech characters with chinese ones. Is there anything wrong with encoding? Version 3.7 even replaces all bookmark names from PDF document so they seem to be unnamed.
Thank you for any reply.
Ladislav