XRect SetSides Function. Sets the sides of the rectangle. ABCpdf .NET PDF Library. From ABCpdf .net previous page next page SetSides Function Sets the sides of the rectangle. Syntax [C#]void SetSides(double x1, double y1, double x2, double y2)[Visual Basic]Sub SetSides(x1 As Double, y1 As Double, x2 As Double, y2 As Double) Params Name Description x1 The new left position. y1 The new bottom position. x2 The new right position. y2 The new top position. Notes Sets the coordinates of the rectangle. Example None. previous page start next page