Partager via


create method

Creates a new img element of the specified width and height.

Syntax

IHTMLImgElement retVal = 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.

Standards information

There are no standards that apply here.

See also

IHTMLImgElement