Hi,
I have the following case:
A tiff is loaded in an AnnotateViewer
Annotations are created from a database
I want to save the tiff as a pdf file with xmp annotations
I'm doing as follows
Dim at As New Formatters.XmpFormatter
at.CreateXmpPacket = True
at.Formatting = Xml.Formatting.None
Dim pdfenc As New Pdf.PdfEncoder
pdfenc.UseAdvancedImageCompression = True
pdfenc.JpegQuality = 10
pdfenc.SizeMode = Pdf.PdfPageSizeMode.FitToImage
pdfenc.Xmp = anw.Annotations.Save(at)
anw.Save("g:\2.pdf", pdfenc)
Where anw: Dim anw As New Atalasoft.Annotate.UI.AnnotateViewer
But the resulting file, 2.pdf, has only the image in it, not the XMP highlighting as well
What should I do to also have the annotations in the PDF file?
Regards
Andrei Gosman