Type Default Read Only Description
[C#]
string

[Visual Basic]
String
"0 0" No The point as a string

 

   

Notes
 

Allows you to access to the point as a string.

The format of the string must be "x y".

 

   

Example
 

The following code.

[C#]
XPoint pt = new XPoint();
pt.String = "20 10";
Response.Write("X = " +pt.X.ToString());
Response.Write("<br>");
Response.Write("Y = " +pt.Y.ToString());

[Visual Basic]
Dim pt As XPoint = New XPoint()
pt.String = "20 10"
Response.Write("X = " +pt.X.ToString())
Response.Write("<br>")
Response.Write("Y = " +pt.Y.ToString())

Produces the following output.

X = 20
Y = 10