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

width property

Sets or retrieves the width of the object.

Syntax

HRESULT value = object.put_width( v);HRESULT value = object.get_width(* 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 IHTMLMarqueeElement::width property, but doing so has no effect on the rendering of the frame.

 

 

Community Additions

ADD
Show:
© 2015 Microsoft