I'm storing the Ink points(Path points) out of the PDF file and i can redraw the Ink on PDF file using this points.
The problem is: I don't know how i can update this points when the user moves the Ink annotation.
Here is what i have:
- An array of points. Point object contains (Float)X, (Float)Y and (Integer)Type.
What i want:
- I want to create a new Path object using this points. So i can call this method Page.Annotation.SetInkPath(path);
I want to update the Ink Path for an old Ink Annotation that exist on another copy of the PDF file. So suppose that i have an array of points (from path object) and i have the target annotation(InkAnnotation). How i can update the path for an old(created before) ink annotation ? I know that i can use this method InkAnnotation.SetInkPath(Path path). How i can create the path object from an array of points ?