IHTMLRuleStyle::get_widthIHTMLRuleStyle::get_width*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLRuleStyle::put_width
*Next Topic: IHTMLRuleStyle::put_height

IHTMLRuleStyle::get_width


HRESULT get_width(
    VARIANT *p 
);

Retrieves the value of the CSS width attribute for the element.

p
Address of a variable that receives the width. See width for details. This parameter receives NULL if the attribute is not set.

See also put_height

Up Top of Page


IHTMLRuleStyle::put_width


HRESULT put_width( 
    VARIANT v 
);

Sets the value of the CSS width attribute for the element. The attribute determines the element's width.

v
String specifying the width, which consists of a floating-point number and a units designator. See width for details. Set this parameter to NULL to remove the attribute.

See also get_width


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