IHTMLStyle::get_widthIHTMLStyle::get_width*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLStyle::get_whiteSpace
*Next Topic: IHTMLStyle::get_wordSpacing

IHTMLStyle::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_width

Up Top of Page


IHTMLStyle::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.