IHTMLStyle interface
TBD.
Members
The IHTMLStyle interface inherits from the IUnknown interface. IHTMLStyle also has these types of members:
Methods
The IHTMLStyle interface has these methods.
| Method | Description |
|---|---|
| getAttribute |
Retrieves the value of the specified attribute. |
| removeAttribute |
Removes an attribute from an object. |
| setAttribute |
Sets the value of the specified attribute. |
Properties
The IHTMLStyle interface has these properties.
| Property | Description |
|---|---|
|
Sets or retrieves up to five separate background properties of the object. | |
|
Sets or retrieves how the background image is attached to the object within the document. | |
|
Sets or retrieves the color behind the content of the object. | |
|
Sets or retrieves the background image of the object. | |
|
Sets or retrieves the position of the background of the object. | |
|
Sets or retrieves the x-coordinate of the background-position property. | |
|
Sets or retrieves the y-coordinate of the background-position property. | |
|
Sets or retrieves how the background-image property of the object is tiled. | |
|
Sets or retrieves the properties to draw around the object. | |
|
Sets or retrieves the properties of the bottom border of the object. | |
|
Sets or retrieves the color of the bottom border of the object. | |
|
Sets or retrieves the style of the bottom border of the object. | |
|
Sets or retrieves the width of the bottom border of the object. | |
|
Sets or retrieves the border color of the object. | |
|
Sets or retrieves the properties of the left border of the object. | |
|
Sets or retrieves the color of the left border of the object. | |
|
Sets or retrieves the style of the left border of the object. | |
|
Sets or retrieves the width of the left border of the object. | |
|
Sets or retrieves the properties of the right border of the object. | |
|
Sets or retrieves the color of the right border of the object. | |
|
Sets or retrieves the style of the right border of the object. | |
|
Sets or retrieves the width of the right border of the object. | |
|
Sets or retrieves the style of the left, right, top, and bottom borders of the object. | |
|
Sets or retrieves the properties of the top border of the object. | |
|
Sets or retrieves the color of the top border of the object. | |
|
Sets or retrieves the style of the top border of the object. | |
|
Sets or retrieves the width of the top border of the object. | |
|
Sets or retrieves the width of the left, right, top, and bottom borders of the object. | |
|
Sets or retrieves whether the object allows floating objects on its left side, right side, or both, so that the next text displays past the floating objects. | |
|
Sets or retrieves which part of a positioned object is visible. | |
|
Sets or retrieves the color of the text of the object. | |
|
Sets or retrieves the type of cursor to display as the mouse pointer moves over the object. This property is not supported for Metro style apps using JavaScript. | |
|
Gets or sets a value that indicates whether and how the object is rendered. | |
|
Sets or retrieves the filter or collection of filters that are applied to the object. | |
|
Sets or retrieves a combination of separate font properties of the object. Alternatively, sets or retrieves one or more of six user-preference fonts. | |
|
Sets or retrieves the name of the font used for text in the object. | |
|
Sets or retrieves a value that indicates the font size used for text in the object. | |
|
Sets or retrieves the font style of the object as italic, normal, or oblique. | |
|
Sets or retrieves whether the text of the object is in small capital letters. | |
|
Sets or retrieves the weight of the font of the object. | |
|
Sets or retrieves the height of the object. | |
|
Sets or retrieves the position of the object relative to the left edge of the next positioned object in the document hierarchy. | |
|
Sets or retrieves the amount of additional space between letters in the object. | |
|
Sets or retrieves the distance between lines in the object. | |
|
Sets or retrieves up to three separate list-style properties of the object. | |
|
Sets or retrieves a value that indicates which image to use as a list-item marker for the object. | |
|
Sets or retrieves a variable that indicates how the list-item marker is drawn relative to the content of the object. | |
|
Sets or retrieves the predefined type of the line-item marker for the object. | |
|
Sets or retrieves the width of the top, right, bottom, and left margins of the object. | |
|
Sets or retrieves the height of the bottom margin of the object. | |
|
Sets or retrieves the width of the left margin of the object. | |
|
Sets or retrieves the width of the right margin of the object. | |
|
Sets or retrieves the height of the top margin of the object. | |
|
Sets or retrieves a value indicating how to manage the content of the object when the content exceeds the height or width of the object. | |
|
Sets or retrieves the amount of space to insert between the object and its margin or, if there is a border, between the object and its border. | |
|
Sets or retrieves the amount of space to insert between the bottom border of the object and the content. | |
|
Sets or retrieves the amount of space to insert between the left border of the object and the content. | |
|
Sets or retrieves the amount of space to insert between the right border of the object and the content. | |
|
Sets or retrieves the amount of space to insert between the top border of the object and the content. | |
|
Sets or retrieves a value indicating whether a page break occurs after the object. | |
|
Sets or retrieves a string indicating whether a page break occurs before the object. | |
|
Sets or retrieves the height of the object. | |
|
Sets or retrieves the left position of the object. | |
|
Sets or retrieves the top position of the object. | |
|
Sets or retrieves the width of the object. | |
|
Sets or retrieves the height of the object in the units specified by the height attribute. | |
|
Sets or retrieves the type of positioning used for the object. | |
|
Sets or retrieves the left position of the object in the units specified by the left attribute. | |
|
Sets or retrieves the top position of the object in the units specified by the top attribute. | |
|
Sets or retrieves the width of the object in the units specified by the width attribute. | |
|
Sets or retrieves on which side of the object the text will flow. | |
|
Sets or retrieves whether the text in the object is left-aligned, right-aligned, centered, or justified. | |
|
Sets or retrieves a value that indicates whether the text in the object has blink, line-through, overline, or underline decorations. | |
|
Sets or retrieves a Boolean value that indicates whether the object's textDecoration property has a value of "blink." This property is not supported for Metro style apps using JavaScript. | |
|
Sets or retrieves a Boolean value indicating whether the text in the object has a line drawn through it. | |
|
Sets or retrieves the Boolean value indicating whether the textDecoration property for the object has been set to none. | |
|
Sets or retrieves a Boolean value indicating whether the text in the object has a line drawn over it. | |
|
Sets or retrieves whether the text in the object is underlined. | |
|
Sets or retrieves the indentation of the first line of text in the object. This property is not supported for Metro style apps using JavaScript. | |
|
Sets or retrieves the rendering of the text in the object. | |
|
Sets or retrieves the position of the object relative to the top of the next positioned object in the document hierarchy. | |
|
Sets or retrieves the vertical alignment of the object. | |
|
Sets or retrieves whether the content of the object is displayed. | |
|
Sets or retrieves a value that indicates whether lines are automatically broken inside the object. | |
|
Sets or retrieves the width of the object. | |
|
Sets or retrieves the amount of additional space between words in the object. | |
|
Sets or retrieves the stacking order of positioned objects. |
Send comments about this topic to Microsoft
Build date: 1/23/2012