Translates the rectangle.

 

   

Syntax
 

XRect.Move X, Y

 

   

Params
 
Name Type Description
X Double The horizontal distance to move the rectangle.
Y Double The vertical distance to move the rectangle.

 

   

Notes
 

Moves the rectangle maintaining the width and height.

 

   

Example
 

The following code.

Set rc = Server.CreateObject("ABCpdf10.XRect")
rc.String = "20 20 220 120"
Response.Write "Rect = " & rc
rc.Move 50, 50
Response.Write "<br>"
Response.Write "Move = " & rc

Produces the following output.

Rect = 20 20 220 120
Move = 70 70 270 170