IHTMLStyle::get_pixelWidthIHTMLStyle::get_pixelWidth*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLStyle::get_pixelTop
*Next Topic: IHTMLStyle::get_posHeight

IHTMLStyle::get_pixelWidth


HRESULT get_pixelWidth(
    long *p 
);

Retrieves the width of the element, in pixels.

p
Address of a variable that receives the width.

Unlike the width attribute, this attribute's value is an integer, not a string, and is always interpreted in pixels.

See also put_pixelWidth

Up Top of Page


IHTMLStyle::put_pixelWidth


HRESULT put_pixelWidth(
    long v 
);

Sets the width of the element, in pixels.

v
Long integer value specifying the width. Setting this property changes the width without changing the units designator.

Unlike the width attribute, this attribute's value is an integer, not a string, and is always interpreted in pixels.

See also get_pixelWidth


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