|
The following code.
[C#]
XRect rc = new XRect();
rc.String = "0 0 200 100";
Response.Write("Rect = " + rc.String);
Response.Write("<br>");
rc.Inset(10, 20);
Response.Write("Inset = " + rc.String);
[Visual Basic]
Dim rc As XRect = New XRect()
rc.String = "0 0 200 100"
Response.Write("Rect = " + rc.String)
Response.Write("<br>")
rc.Inset(10, 20)
Response.Write("Inset = " + rc.String)
Produces the following output.
Rect = 0 0 200 100
Inset = 10 20 190 80
|