The following code.
[C#]
XRect rc = new
XRect(); rc.String = "20 20 220 120"; Response.Write("Rect = "
+ rc.String); Response.Write("<br>"); rc.Magnify(0.5,
0.5); Response.Write("Scale = " + 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.Magnify(0.5,
0.5) Response.Write("Scale = " + rc.String)
Produces the following output.
Rect = 20 20 220 120 Scale = 20 20 120 70
|