VintaSoft Annotation .NET Plug-in Discussions

Questions, comments and suggestions concerning VintaSoft Annotation .NET Plug-in.

Board index < VintaSoft Imaging < VintaSoft Annotation .NET Plug-in Discussions

We are migrating to new forums engine, no new registration or posting currently available. TIA for your patience.

AnnotationViewer with multiple pages



AnnotationViewer with multiple pages

Post by Neralem »

Hi,

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:
annotationViewer.AnnotationDataCollection.Add(annotationData);
I can't see any way to tell on what page/image the annotation should be :(


Re: AnnotationViewer with multiple pages

Post by Neralem »

Nervermind. I just had to use the AnnotationController and the GetAnnotations(int index) Method. Thanks anyway. Hope this helps someone else.


Page 1 from 1: 1