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 IHTMLIFrameElement2::width property, but doing so has no effect on the rendering of the frame.

 

 

Build date: 6/12/2012