Represents a rectangular area in two-dimensional space. When first created the object defaults to an empty rectangle "0 0 0 0".

ABCpdf uses the standard Adobe PDF coordinate space. The origin of this space is at the bottom left of the document. Distances are measured up and right in points. Points are a traditional measure for print work and there are 72 points in an inch. For further details see the Coordinates section of the documentation.

You can change the coordinate system used by the Doc.Rect and the Doc.MediaBox using the Doc.Units and Doc.TopDown properties.

System.Object
   WebSupergoo.ABCpdf6.XRect

 

   
   
Method Description
Inset Insets the edges of the rectangle.
Magnify Magnifies the rectangle.
Move Translate the rectangle.
Position Position the bottom left of the rectangle.
Resize Resizes the rectangle.
SetRect Sets the location and size of the rectangle.
ToString Returns a string representation of the object.

 

   
   
Property Description
String The rect as a delimited string.
Rectangle The rect as a .NET Rectangle.
Left The left of the rect.
Bottom The bottom of the rect.
Right The right of the rect.
Top The top of the rect.
Width The width of the rect.
Height The height of the rect.
Pin The corner of the rectangle to pin.