hspace property

[This documentation is preliminary and is subject to change.]

Sets or retrieves the horizontal margin for the object.


HRESULT value = object.put_hspace( v);HRESULT value = object.get_hspace(* p);

Property values

Type: long

the horizontal margin, in pixels.


Value Condition


Standards information


This property is similar to the IHTMLImgElement::border property, except the margins do not have color when the element is a link.

When this property is set dynamically for an img or iframe object, the property value will be updated but the display will show no visible change.

See also




Build date: 6/12/2012