VML ImageAlignShape 屬性

本主題描述 VML,這是從 Windows Internet Explorer 9 淘汰的功能。 依賴 VML 的網頁和應用程式應移轉至 SVG 或其他廣泛支援的標準。

注意

自 2011 年 12 月起,本主題已封存。 因此,它不再主動維護。 如需詳細資訊,請參閱 封存內容。 如需有關目前 Windows Internet Explorer 版本的資訊、建議和指引,請參閱 Internet Explorer 開發人員中心

 

決定筆劃影像的對齊方式。 讀取/寫入 VgTriState

適用於

中風

標記語法

<V:

元素imagealignshape=「運算式」 >

指令碼語法

元素 .imagealignshape=「expression

expression*=element.imagealignshape*

備註

如果為 True,請將影像與圖形對齊,否則會將影像與視窗對齊。 預設值為 True

VML 標準屬性

範例

影像與視窗對齊。

   <v:shape id="rect01"
   strokecolor="red" fillcolor="red" strokeweight="20pt"
   style="top:20;left:20;width:300;height:300"
   path="m 1,1 l 1,200, 200,200, 200,1 x e">
   <v:stroke imagealignshape="false" width="5pt" filltype="tile" src="cylinder.gif"/>
   </v:shape>