Partager via


IHTMLStyleMedia interface

Determines the media type that is supported by the object that displays a webpage.

Members

The IHTMLStyleMedia interface inherits from the IDispatch interface. IHTMLStyleMedia also has these types of members:

  • Methods
  • Properties

Methods

The IHTMLStyleMedia interface has these methods.

Method Description
matchMedium

Gets a value that indicates whether the specified media is supported by the object that displays the document object.

 

Properties

The IHTMLStyleMedia interface has these properties.

Property Description

type

Gets the media type of the object that displays the document object.

 

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch