maybe i'm just too dumb, but how can i programmatically add annotations inside a WpfAnnotationViewer on multiple pages?
I've got an instance of PdfDocument and extract an ImageCollection with the PdfPage.Render() funktion on each page. I've assigned this ImageCollection to the Images property of the WpfAnnotationViewer and set the DisplayMode Property to SingleContinuousColumn.
Now i've created an instance of RectangleAnnotationData and set it up like i want.
After doing that, i add this annotation like so:
Code: Select all