CoordSize Attribute | Internet Development Index |
Specifies the horizontal and vertical units of the rectangle that bounds a shape. Read/write IVgVector2D.
Applies To
Tag Syntax
<v:element coordsize="expression">
Script Syntax
element.coordsize="expression"
expression=element.coordsize
Remarks
If not specified, the coordinate size is the same as the bounding box of the shape.
Note that this attribute is a vector and that the units are relative to the length and width of the bounding rectangle.
Also note that mapping between coordsize and the bounding box can be made anisotropic. Make sure that the coordsize width and coordsize height is the same as the style width and height if you don't want to distort the shape.
In scripting, because this is a 2-D vector, you can access the x and y values separately, and can also determine the type of units expected.
VML Standard Attribute
Example
The shape is 100 points high and 100 points wide, but each horizontal and vertical unit in the coordinate space is 1/10 of a point.
<v:shape id="rect01" fillcolor="red" strokecolor="red" coordorigin="0 0" coordsize="1000 1000" style="position:relative;top:0;left:0;width:100pt;height:100pt" path="m 1,1 l 1,200, 200,200, 200,1 x e"> </v:shape>
CoordSize Attribute Example. (Requires Microsoft Internet Explorer 5 or greater.)
富源县| 万盛区| 潞城市| 苍溪县| 崇明县| 永定县| 寿光市| 高州市| 马边| 长寿区| 松潘县| 德钦县| 资中县| 宜宾市| 青岛市| 长乐市| 秦安县| 兴宁市| 龙门县| 郎溪县| 丘北县| 新泰市| 三明市| 威信县| 景德镇市| 松阳县| 甘孜| 开封市| 台南市| 云阳县| 西城区| 威海市| 曲靖市| 耿马| 界首市| 登封市| 富源县| 乌鲁木齐市| 修水县| 永城市| 富顺县|