共用方式為


IHTMLInputImage interface

This interface specifies a type of input control.

Members

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

  • Properties

Properties

The IHTMLInputImage interface has these properties.

Property Description

align

Sets or retrieves how the object is aligned with adjacent text.

alt

Sets or retrieves a text alternative to the graphic.

border

Sets or retrieves the width of the border to draw around the object.

complete

Retrieves whether the object is fully loaded.

disabled

Sets or retrieves a value that indicates whether the user can interact with the object.

dynsrc

This property is deprecated. Sets or retrieves the address of a video clip or VRML world to display in the window.

height

Sets or retrieves the height of the object.

hspace

Sets or retrieves the horizontal margin for the object.

loop

Sets or retrieves the number of times a sound or video clip will loop when activated.

lowsrc

Sets or retrieves a lower resolution image to display.

onload

Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::onload event. The HTMLFrameSiteEvents::onload event occurs immediately after the browser loads the object.

readyState

Retrieves a value that indicates the current state of the object.

src

Sets or retrieves a URL to be loaded by the object.

start

Sets or retrieves when a video clip file should begin playing.

type

Retrieves or initially sets (IHTMLInputElement only) the type of input control represented by the object.

vrml

Sets or retrieves the IHTMLDocument2::URL of the VRML world to be displayed in the window.

vspace

Sets or retrieves the vertical margin for the object.

width

Sets or retrieves the calculated width of the object.

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch

Reference

IHTMLInputElement

IHTMLInputButtonElement::type