Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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.




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/6/2012

Community Additions

© 2015 Microsoft