|
The following code.
[C#]
XRect rc = new XRect();
rc.String = "20 20 220 120";
Response.Write("Rect = " + rc.String);
Response.Write("<br>");
rc.Resize(50, 150);
Response.Write("Pos. = " + rc.String);
[Visual Basic]
Dim rc As XRect = New XRect()
rc.String = "20 20 220 120"
Response.Write("Rect = " + rc.String)
Response.Write("<br>")
rc.Resize(50, 150)
Response.Write("Pos. = " + rc.String)
Produces the following output.
Rect = 20 20 220 120
Pos. = 20 20 70 170
|