Application.UsableHeight property

Office 2013 and later

Gets the available screen height, the maximum number of points to which you can set the height of an InfoPath document window.

Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)

Public MustOverride ReadOnly Property UsableHeight As Integer
Dim instance As Application
Dim value As Integer

value = instance.UsableHeight

Property value

Type: System.Int32
The available screen height in points.

This member can be accessed without restrictions.

This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.

In the following example, the UsableHeight property is used to display the maximum available screen height in points.