Application.UsableHeight 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 available screen height, the maximum number of points to which you can set the height of an InfoPath document window.
public:
abstract property int UsableHeight { int get(); };
public abstract int UsableHeight { get; }
member this.UsableHeight : int
Public MustOverride ReadOnly Property UsableHeight As Integer
Property Value
The available screen height in points.
Examples
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())
Remarks
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.