Export (0) Print
Expand All

IHTMLObjectElement::hspace Property

Sets or retrieves the horizontal margin for the object.

Syntax


HRESULT IHTMLObjectElement::get_hspace(long *p);HRESULT IHTMLObjectElement::put_hspace(long v);

Parameters

p
Pointer to a variable of type long that receives the horizontal margin, in pixels.
v
long that specifies the horizontal margin, in pixels.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

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

IHTMLObjectElement::vspace

Community Additions

ADD
Show:
© 2014 Microsoft