Share via


IInfoPathViewControl.Width Property

Gets the width of the current control in the enumeration.

Namespace: Microsoft.Office.Interop.InfoPath
Assembly: Microsoft.Office.Interop.InfoPath (in microsoft.office.interop.infopath.dll)

Syntax

'Declaration
'Usage

Property Value

The width of the control, in pixels.

Remarks

Pixel coordinates are calculated using screenCoordinate values from the MSHTML.DLL document service, which are roughly equivalent to standard CSS values.

For a list of controls that are enumerated in the view, if present, see the GetControls method of the IInfoPathDataImporterFields interface.

For more information about programmatically importing data into an InfoPath form, see the InfoPath Developer Portal on the Microsoft Office Developer Center.

See Also

Reference

IInfoPathViewControl Interface
IInfoPathViewControl Members
Microsoft.Office.Interop.InfoPath Namespace