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.)
瑞昌市| 永登县| 静乐县| 佛教| 湟源县| 旬阳县| 东兴市| 横峰县| 承德县| 吐鲁番市| 山阳县| 平山县| 阿坝| 利辛县| 太康县| 东海县| 兴城市| 丹东市| 迁安市| 广西| 施甸县| 邹城市| 吉木乃县| 鄯善县| 大埔县| 清苑县| 拜泉县| 开阳县| 南华县| 文水县| 鸡泽县| 额尔古纳市| 蒲城县| 神池县| 河间市| 黔西| 白沙| 志丹县| 淄博市| 会宁县| 巧家县|