Insets the edges of the rectangle.

 

   

Syntax
 

XRect.Inset X, Y

 

   

Params
 
Name Type Description
X Double The amount to inset the left and right edges.
Y Double The amount to inset the top and bottom edges.

 

   

Notes
 

Insets the edges of the rectangle by specified horizontal and vertical amounts.

 

   

Example
 

The following code.

Set rc = Server.CreateObject("ABCpdf10.XRect")
rc.String = "0 0 200 100"
Response.Write("Rect = " & rc)
Response.Write("<br>")
rc.Inset 10, 20
Response.Write("Inset = " & rc)

Produces the following output.

Rect = 0 0 200 100
Inset = 10 20 190 80