Inset Attribute | Internet Development Index |
Specifies inner margin values for textbox text. Read/write String.
Applies To
Tag Syntax
<v: element inset="expression">
Script Syntax
element.inset="expression"
expression=element.inset
Remarks
The internal text margin value is specified as a string containing four values, each separated by commas or spaces. The values measure inset from the left, top, right, and bottom edges of the box specified by the TextBoxRect attribute of Path. Missing values are set to the default, which is "0.1in, 0.05in, 0.1in, 0.05in".
For rotated shapes in browsers that do not support rotation, the bounding box will snap to the closest multiple of 90 degrees.
VML Standard Attribute
Example
The textbox will have an inset margin of 10 pixels.
<v:shape id="rect01" coordorigin="0 0" coordsize="200 200" strokecolor="red" fillcolor="red" style="top:10pt;left:10pt;width:50pt;height:50pt" path="m 1,1 l 1,200, 200,200, 200,1 x e"> <v:textbox id="mytextbox" inset="10px, 10px, 10px, 10px"> VML </v:textbox/> </v:shape>