IInfoPathViewControl.Width Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.