Panes.Add Method

Returns a Pane object that represents a new pane to a window.

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

Syntax

'Declaration
Function Add ( _
    ByRef SplitVertical As Object _
) As Pane
'Usage
Dim instance As Panes
Dim SplitVertical As Object
Dim returnValue As Pane

returnValue = instance.Add(SplitVertical)
Pane Add(
    ref Object SplitVertical
)

Parameters

  • SplitVertical
    Type: System.Object%
    Optional Object. A number that represents the percentage of the window, from top to bottom, you want to appear above the split.

Return Value

Type: Microsoft.Office.Interop.Word.Pane

Remarks

This method will fail if it's applied to a window that's already been split.

See Also

Reference

Panes Interface

Panes Members

Microsoft.Office.Interop.Word Namespace