Application.UsableHeight Property (Microsoft.Office.InfoPath)
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)
Syntax
'Declaration
Public MustOverride ReadOnly Property UsableHeight As Integer
'Usage
Dim instance As Application
Dim value As Integer
value = instance.UsableHeight
public abstract int UsableHeight { get; }
Property Value
The available screen height in points.
Remarks
This member can be accessed without restrictions.
This type or member can be accessed only from code running in forms opened in Microsoft Office InfoPath 2007.
Example
In the following example, the UsableHeight property is used to display the maximum available screen height in points.
MessageBox.Show(this.Application.UsableHeight.ToString());
MessageBox.Show(Me.Application.UsableHeight.ToString())
See Also
Reference
Application Class
Application Members
Microsoft.Office.InfoPath Namespace