共用方式為


media property

Sets or retrieves a list of media types for this rule.

 

Syntax

HRESULT value = object.put_media( v);HRESULT value = object.get_media(* p);

Property values

Type: VARIANT

a list of any of the following media types.

all

Applies to all devices.

print

Output is intended for printed material and for on-screen documents viewed in Print Preview mode.

screen

Output is intended for computer screens.

tv

Output is intended for television screens.

unknown

Intended output is unknown.

aural

Output is intended for speech synthesizers.

braille

Output is intended for braille tactile feedback devices.

embossed

Intended output is embossed.

handheld

Output is intended for handheld devices.

projection

Output is intended for projection devices.

tty

Output is intended for TTY devices.

Standards information

See also

Reference

IHTMLCSSMediaRule::cssRules

IHTMLCSSMediaRule::deleteRule

IHTMLCSSMediaRule::insertRule