hspace property

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

Sets or retrieves the horizontal margin for the object.

Syntax

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

Property values

Type: long

the horizontal margin, in pixels.

0

Value Condition

 

Standards information

Remarks

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

IHTMLIFrameElement::vspace

 

 

Build date: 6/12/2012