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
ReadOnly Property Width As Integer
Get
'Usage
Dim instance As IInfoPathViewControl
Dim value As Integer
value = instance.Width
int Width { get; }
Property value
Type: System.Int32
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.