Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
add
Expand Minimize

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:
© 2015 Microsoft