type
Collapse the table of content
Expand the table of content

type property

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

Syntax

JavaScript

p = object.type

 

Property values

Type: String

The media type that is supported by the object that displays the document object.

all

Default. The display object supports all media types.

screen

The display object supports computer screens.

print

The display object supports printing.

projection

The display object supports screen projectors.

See also

StyleMedia

 

 

Show:
© 2016 Microsoft