Window.UsableWidth Property

Returns the width (in points) of the active working area in the specified document window.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
ReadOnly Property UsableWidth As Integer
    Get
'Usage
Dim instance As Window
Dim value As Integer

value = instance.UsableWidth
int UsableWidth { get; }

Property Value

Type: System.Int32

Remarks

If none of the working area is visible in the document window, UsableWidth returns 1. To determine the actual available height, subtract 1 from the UsableWidth value.

See Also

Reference

Window Interface

Window Members

Microsoft.Office.Interop.Word Namespace