VML TextBoxRect Attribute
This topic describes VML, a feature that is deprecated as of Windows Internet Explorer 9. Webpages and applications that rely on VML should be migrated to SVG or other widely supported standards.
As of December 2011, this topic has been archived. As a result, it is no longer actively maintained. For more information, see Archived Content. For information, recommendations, and guidance regarding the current version of Windows Internet Explorer, see Internet Explorer Developer Center.
Defines one or more text boxes inside a shape. Read/write. String.
<v: element textboxrect=" expression ">
A textbox is defined by one or more sets of numbers specifying (in order) the left, top, right, and bottom points of the rectangle. Multiple sets are delimited by a semicolon. The default value is the same dimension value as the containing rectangle. If more than one textbox is defined, the comma-delimited quadruple sets that define each textbox are separated by semicolons. Normally textboxes come in sets of 1, 2, 3, or 6 rectangles on a shape.
VML Standard Attribute
A textbox of 95 units by 95 units is defined and placed 5 units inside the top left corner of the shape.
<v:shape id="rect01" coordorigin="0 0" coordsize="200 200" strokecolor="red" style="top:1;left:1;width:50;height:50"> <v:path id= "mypath" v="m 1,1 l 1,200, 200,200, 200,1 x e" textboxrect="5 5 100 100"/> </v:shape>