Visual Basic
C#
Managed Extensions for C++
C++/CLI
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.