Share via


VML 筆劃屬性

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

注意

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

 

定義是否要筆劃路徑。 讀取/寫入 VgTriState

適用於

圖形

標記語法

<v: element stroked=「 expression 」>

指令碼語法

元素 .stroked=「expression

表達=element.stroked

備註

值會從Stroke元素的On屬性複製。

VML 標準屬性

範例

圖形路徑會筆劃。

   <v:shape id="rect01" stroked="True"
   strokecolor="red" fillcolor="white"
   coordorigin="0 0" coordsize="200 200"
   style="position:relative;top:1;left:1;width:20;height:20"
   path="m 1,1 l 1,200, 200,200, 200,1 x e">
   </v:shape>

筆劃屬性範例。 (需要 Microsoft Internet Explorer 5 或更新版本.)