IInfoPathViewControl.Width Property

Definition

Gets the width of the current control in the enumeration.

public:
 property int Width { int get(); };
public int Width { get; }
member this.Width : int
Public ReadOnly Property Width As Integer

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(IEnumUnknown) method of the IInfoPathDataImporterFields interface.

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

Applies to