IHTMLTableCell::get_widthIHTMLTableCell::get_width*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLTableCell::get_vAlign
*Next Topic: IHTMLTableCell::put_align

IHTMLTableCell::get_width


HRESULT get_width(
    VARIANT *p 
);

Retrieves the calculated width of the element, in pixels.

p
Address of a VARIANT structure that receives the width.

This property is an integer value. Although an HTML author can specify the width as a percentage, this property always specifies the width in pixels.

See also put_width

Up Top of Page


IHTMLTableCell::put_width


HRESULT put_width(
    VARIANT v 
);

Sets the calculated width of the element, in pixels.

v
VARIANT structure that contains the value specifying the width.

This property is an integer value. Although an HTML author can specify the width as a percentage, this property always specifies the width in pixels.

See also get_width


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