Iterate through the Points and the Types arrays of the GraphicsPath, saving
them out to string values.
For i as int32 = 0 to in myPath.PathPoints.Length - 1
'Save each myPath.PathPoints(i)
Next
For i as int32 = 0 to in myPath.PathTypes.Length - 1
'Save each myPath.PathTypes(i)
Next
Then, when you need it, reconstruct your graphics path by calling the
constructor that takes an array of points and types:
myPath = new GraphicsPath(PointArray, TypeArray)
If you need more help than this textual descriptive of what to do, let me
know.
--
Justin Weinberg
Designing a PrintDocument? Drawing to forms?
Check out GDI+ Architect at
www.mrgsoft.com
"Crirus" <Cr****@datagroup.ro> wrote in message
news:uK**************@TK2MSFTNGP12.phx.gbl...
Hello
I need to save as a string a graphicPath instance...there is a way of
doing this?
Crirus