If you have a Page.Annotation object (here called mAnnotation) and you increase the stroke width as follows...
And then refresh the view like this…..
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?
The administrator has disabled public write access.
Problems updating existing annotations
3 years 6 months ago #4960
Thanks for the update to the bounding box. It works but there is a problem. If the annotation has been moved, the bounding box returns to its original position, and the annotation becomes clipped. I have created an image with some screen shots to help show the problem. Do you think that the library can be updated to correct this issue?
Thank you very much. Image can be found at the following URL.