G
Guest
I'm using an xml schema (XSD) that has a point data in it, so when I'm saving
the schema (from memory with values) to an XML file, the point value is saved
in the form of: "{X=12, Y=34}" And that is very good.
Also when I'm loading the XML file with the schema to a DataSet, this
"{X=12, Y=34}" is converted nicely to a point.
I wish to do this same conversion from "{X=12, Y=34}" string pattern to a
point in memory (without XML schema), but I can't find how to.
The Point does not have the Parse method.
I did find the PointConverter.ConvertFrom("12, 34"), but its using a
different string format.
Is there a built in direct way to convert string in the form of "{X=12,
Y=34}" to a Point ?
the schema (from memory with values) to an XML file, the point value is saved
in the form of: "{X=12, Y=34}" And that is very good.
Also when I'm loading the XML file with the schema to a DataSet, this
"{X=12, Y=34}" is converted nicely to a point.
I wish to do this same conversion from "{X=12, Y=34}" string pattern to a
point in memory (without XML schema), but I can't find how to.
The Point does not have the Parse method.
I did find the PointConverter.ConvertFrom("12, 34"), but its using a
different string format.
Is there a built in direct way to convert string in the form of "{X=12,
Y=34}" to a Point ?