How do I get the strokes from the pen?
I am using the Anoto Network SDK and trying to get a pen stroke with Anotopen4.penstroke.X and I expect an array of objects (return type is a single object). How do I get the strokes from the pen?
You need to typecast the object returned to an array:
- System.Array x = (System.Array)Anotopen4.penstroke.x;
- System.Array y = (System.Array)Anotopen4.penstroke.y;