We are getting the annotation before closing the document, but only the current page is returning the annotation.
For setting the annotation, I´m trying with this two methods, but It is not print in the pdf.
PDFPage page = m_doc.GetPage(0);
page.AddAnnotEllipse(rect, strokeWidth, color, icolor);
PDFVPage vPage = m_view.vGetPage(0);
m_view.vRenderSync(vPage);
PDFVPage vPage = m_view.vGetPage(0);
PDFPage page = vPage.GetPage();
page.AddAnnotEllipse(rect, strokeWidth, 12821, 51212);
m_view.vRenderSync(vPage);
Thanks.