Share via


IInfoPathViewControl.Height property

Gets the height 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 Height As Integer
    Get
'Usage
Dim instance As IInfoPathViewControl
Dim value As Integer

value = instance.Height
int Height { get; }

Property value

Type: System.Int32
The height 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