If you have a Page.Annotation object (here called mAnnotation) and you increase the stroke width as follows...
mAnnotation.SetStrokeWidth(largerStrokeWidth);
And then refresh the view like this…..
mPdfView.vRender(somePDFVPage);
The annotation updated with a new stroke with, but there are two problems.
The bounding box of the annotation is not expanded, so the new (larger) stroke width is displayed clipped at the edges.
The reference to the annotation in mAnnotation becomes invalid, as the Annotation itself appears to move to a new location in memory. You cannot perform subsequent operations on the annotation or reliably get a reference to the new version of it.
Are these bugs in the library, or do you think I might have missed something?
Thanks