IHTMLObjectElement interface
This interface inserts an object into the HTML page.
Members
The IHTMLObjectElement interface inherits from the IDispatch interface. IHTMLObjectElement also has these types of members:
Properties
The IHTMLObjectElement interface has these properties.
| Property | Description |
|---|---|
|
Sets or retrieves how the object is aligned with adjacent text. | |
|
Gets or sets the optional alternative HTML script to execute if the object fails to load. | |
|
Retrieves a string of the URL where the object tag can be found. This is often the IHTMLBaseElement::href of the document that the object is in, or the value set by a base element. | |
|
Sets or retrieves the class identifier for the object. | |
|
Sets or retrieves the URL of the file containing the compiled Java class. | |
|
Sets or retrieves the URL of the component. | |
|
Sets or retrieves the Internet media type for the code associated with the object. | |
|
Sets or retrieves the URL that references the data of the object. | |
|
Retrieves a reference to the form that the object is embedded in. | |
|
Sets or retrieves the height of the object. | |
|
Sets or retrieves the horizontal margin for the object. | |
|
Sets or retrieves the name of the object. | |
|
Retrieves the contained object. | |
|
Retrieves the current state of the object. | |
|
Sets or retrieves from a data source object a reference to the default record set. | |
|
Sets or retrieves the MIME type of the object. | |
|
Sets or retrieves the vertical margin for the object. | |
|
Sets or retrieves the width of the object. |
Remarks
The object element is a block element.
Requirements
|
Minimum supported client |
Windows XP |
|---|---|
|
Minimum supported server |
Windows 2000 Server |
|
Header |
|
|
IDL |
|
|
DLL |
|
See also
- IDispatch
- Reference
- IHTMLObjectElement2
- IHTMLObjectElement3