WindowObject オブジェクトによって表されるウィンドウの高さを、ポイント単位で取得または設定します。
名前空間: Microsoft.Office.Interop.InfoPath
アセンブリ: Microsoft.Office.Interop.InfoPath (microsoft.office.interop.infopath.dll 内)
構文
'宣言
<DispIdAttribute(13)> _
Property Height As Integer
'使用
Dim instance As Window2
Dim value As Integer
value = instance.Height
instance.Height = value
[DispIdAttribute(13)]
int Height { get; set; }
コメント
最小化または最大化しているウィンドウに対して Height プロパティを設定すると、エラーが返されます。
Height プロパティは、UsableHeight によって返される値よりも大きい値に設定することはできません。
関連項目
参照
Window2 インターフェイス
Window2 のメンバ
Microsoft.Office.Interop.InfoPath 名前空間