Accusoft.PdfXpressSdk Namespace > AddTextOptions Class : BoundingBox Property |
'Declaration Public Property BoundingBox As RectangleF
'Usage Dim instance As AddTextOptions Dim value As RectangleF instance.BoundingBox = value value = instance.BoundingBox
public RectangleF BoundingBox {get; set;}
public: __property RectangleF get_BoundingBox(); public: __property void set_BoundingBox( RectangleF value );
public: property RectangleF BoundingBox { RectangleF get(); void set ( RectangleF value); }
The box is specified as a System.Drawing.RectangleF. The upper-left hand corner of the first glyph of text will be rendered at the upper-left hand corner of the bounding box. If text exceeds the horizontal or vertical bounds of the bounding box, a TextBoxExceedsPageBoundsException is thrown.
The BoundingBox is initialized to have a 1 inch margin from the sides of the page, with a width of 6.5 inches and a height of 9 inches (page size is 8.5 by 11 inches). This is the default bounding box.