Retrieves the height of the element, in pixels.
Syntax
HRESULT get_pixelHeight( long *p );
Parameters
- p
- Address of a variable that receives the height.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
Unlike the height attribute, this attribute's value is an integer, not a string, and is always interpreted in pixels.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
Sets the height of the element, in pixels.
Syntax
HRESULT put_pixelHeight( long v );
Parameters
- v
- Long integer value that specifies the height. Setting this property changes the height without changing the units designator.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
Unlike the height attribute, this attribute's value is an integer, not a string, and is always interpreted in pixels.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0