IHTMLStyle::get_clipIHTMLStyle::get_clip*
*



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.

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

Up Top of Page


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.

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


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.