Retrieves the height of the element in pixels.
Syntax
HRESULT get_posHeight( float *p );
Parameters
- p
- Address of a variable that receives the height position.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
Unlike the height property, this property's value is a floating-point number, not a string.
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_posHeight( float v );
Parameters
- v
- Floating-point value that specifies the height of the element.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
Setting this property changes the value of the height but leaves the units designator for the property unchanged.
Unlike the height property, this property's value is a floating-point number, not a string.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0