共用方式為


outlineStyle property

Specifies the style of the outline frame.

 

Syntax

HRESULT value = object.put_outlineStyle( v);HRESULT value = object.get_outlineStyle(* p);

Property values

Type: BSTR

none (none)

Default. The border is not drawn, regardless of any IHTMLStyle6::outlineWidth.

dotted (dotted)

The border is a dotted line.

dashed (dashed)

The border is a dashed line.

solid (solid)

The border is a solid line.

double (double)

The border is a double line. The IHTMLStyle6::outlineWidth property value must be at least 3 pixels for a double border to be drawn.

groove (groove)

A 3-D groove is drawn in colors based on the value.

ridge (ridge)

A 3-D ridge is drawn in colors based on the value.

inset (inset)

A 3-D inset is drawn in colors based on the value.

outset (outset)

A 3-D outset is drawn in colors based on the value.

window-inset (window-inset)

The border is the same as inset, but is surrounded by an additional single line, drawn in colors based on the value.

String format

none | dotted | dashed | solid | double | groove | ridge | inset | outset | window-inset

CSS information

Applies To All elements
Media visual
Inherited no
Initial Value

Standards information

Remarks

This property requires Windows Internet Explorer to be in IE8 Standards mode rendering.

Requirements

Minimum supported client

Windows XP with SP2

Minimum supported server

Windows Server 2003

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

Reference

IHTMLStyle6::outline

IHTMLStyle6::outlineColor

IHTMLStyle6::outlineWidth