Width Property

Microsoft Office InfoPath

A read/write property of type long integer that specifies the width of the window represented by the Window object, measured in points.

expression.Width

expression    Required. An expression that returns a reference to a Window object.

Remarks

The Width property will return an error if it is set on a window that is minimized or maximized.

The Width property can't be set to a value that is larger than the value returned by the UsableWidth property.

Security Level

3: Can be accessed only by fully trusted forms.

Remarks

Note  This object model member is not supported when the Disable Service Pack features option on the Advanced tab of the Options dialog box in InfoPath is selected or when Microsoft Office 2003 Service Pack 1 or later is not installed. Any form that implements this object model member in its code will generate an error message if it is opened in InfoPath when service pack features are disabled or unavailable.