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)

Usage

Dim SplitVertical As Object
Dim returnValue As Pane
Dim panes1 As Panes
returnValue = panes1.Add(SplitVertical)

Syntax

Function Add( _
    <InAttribute()> Optional ByRef SplitVertical As Object _
) As Pane
Pane Add(
    [In, Optional] ref object SplitVertical
);
public: Pane^ Add(
    &Object^ SplitVertical
);
public Pane Add(
    /*in*/System.Object SplitVertical
);
function Add(
     SplitVertical : Object
) : Pane;

Parameters

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

Remarks

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Panes Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Panes Members