TextBoxRect Attribute | Internet Development Index |
Defines one or more text boxes inside a shape. Read/write String.
Applies To
Tag Syntax
<v: element textboxrect="expression">
Script Syntax
element.textboxrect="expression"
expression=element.textboxrect
Remarks
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
Example
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>