Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

pixelHeight property

Sets or retrieves the height of the object.

Syntax

Integer value = object.put_pixelHeight(Integer v);Integer value = object.get_pixelHeight(Integer* iHeight);

Property values

Type: long

The height, in pixels.

String format

<integer>

CSS information

Applies ToAll elements
Mediavisual
Inheritedno
Initial Value

Remarks

Setting this property changes the value of the height without changing the units designator. Unlike the IHTMLStyle::height property, this property's value is an integer, not a string, and is always interpreted in pixels.

For more information about how to access the dimension and location of objects on the page through the Dynamic HTML (DHTML) Document Object Model (DOM), see Measuring Element Dimension and Location with CSSOM in Internet Explorer 9.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IHTMLStyle::posHeight

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.