Share via


DocumentWindow.SplitHorizontal Property

Returns or sets the percentage of the document window width that the outline pane occupies in normal view. Corresponds to the pane divider position between the slide and outline panes. Read/write.

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

Syntax

'Declaration
Property SplitHorizontal As Integer
    Get
    Set
'Usage
Dim instance As DocumentWindow
Dim value As Integer

value = instance.SplitHorizontal

instance.SplitHorizontal = value
int SplitHorizontal { get; set; }

Property Value

Type: System.Int32
Long

Remarks

The maximum value of the SplitHorizontal property is always less than 100% because the slide pane has a minimum width that depends on a 10% zoom level. The actual maximum value may vary depending on the size of the application window.

Examples

The following example sets the vertical pane divider for the active document window to divide at 15% outline pane and 85% slide pane.

ActiveWindow.SplitHorizontal= 15

See Also

Reference

DocumentWindow Interface

DocumentWindow Members

Microsoft.Office.Interop.PowerPoint Namespace