in the program I generate a text annotation. How to make it appear on the screen after its formation?
You need to force Acrobat to refresh the view.
I need Acrobat to go to the right page after creating the annotation. If I force Acrobat to refresh the view, it will not go to the page where the annotation was created.
Indeed, the problem was solved easily.
This code allows simply to go to the desired page.
AVPageView pageView = AVDocGetPageView(avDoc); AVPageViewGoTo(pageView, numPage); AVPageViewDrawNow(pageView);