Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

create method

Creates a new img element of the specified width and height. This method cannot be called directly. See Image object.

Syntax

object.create(width, height)

Parameters

width [in, optional]

Type: Variant

Width, in pixels, of the new img element.

height [in, optional]

Type: Variant

Height, in pixels, of the new img element.

Return value

Type: IHTMLImgElement

The new img element.

Standards information

There are no standards that apply here.

See also

Image
window
IHTMLImgElement

 

 

Show:
© 2017 Microsoft