Export (0) Print
Expand All

width property

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

Sets or retrieves the width of the object.

Syntax

HRESULT value = object.put_width(VARIANT v);HRESULT value = object.get_width(VARIANT* p);

Property values

Type: VARIANT

width

Integer that specifies the width of the object in pixels.

percentage

Not applicable to C++.

Standards information

Remarks

This property is an integer value. Although an HTML author can specify the width as a percentage, this property always specifies the width in pixels in C++.

In Microsoft Internet Explorer 5 it is possible to set the IHTMLObjectElement::width property, but doing so has no effect on the rendering of the frame.

 

 

Build date: 6/6/2012

Community Additions

Show:
© 2014 Microsoft