GdViewer displays the note fine but Adobe Reader does not, whan am I doing wrong?
Code: Select all
GdPicture10.AnnotationManager annotationManager = new AnnotationManager();
GdPicturePDF pdf = new GdPicturePDF();
pdf.LoadFromFile(path, true);
annotationManager.InitFromGdPicturePDF(pdf);
GdPicture10.Annotations.AnnotationStickyNote annotation = annotationManager.AddStickyNoteAnnot(1, 1, 3, 4, "Hello world!");
annotation.FontSize = 20;
annotation.Opacity = 1;
annotationManager.SaveAnnotationsToPage();
pdf.SaveToFile(path);
m_GdViewer.DisplayFromGdPicturePDF(pdf);
pdf.CloseDocument();
annotationManager.Close();