Contents Index Topic Contents | ||
Previous Topic: IHTMLStyle::get_clear Next Topic: IHTMLStyle::get_color |
IHTMLStyle::get_clip
HRESULT get_clip( BSTR *p );Retrieves the value of the CSS clip attribute for the element.
- Returns S_OK if successful, or an error value otherwise.
- p
- Address of a variable that receives the coordinates of the clipping area. This variable receives NULL if the attribute is not set. See clip for details.
See also put_clip
IHTMLStyle::put_clip
HRESULT put_clip( BSTR v );Sets the value of the CSS clip attribute for the element. The attribute determines which part of the element is visible. Any part of the element that is outside the clipping area is transparent.
- Returns S_OK if successful, or an error value otherwise.
- v
- String specifying the coordinates of the clipping area. Each coordinate can be a length value or "auto". See clip for details. Set this parameter to NULL to remove the attribute.
See also get_clip
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.