Back to Devexpress

NormalViewProperties.HorizontalBarState Property

officefileapi-devexpress-dot-docs-dot-presentation-dot-normalviewproperties-ea19b70e.md

latest2.4 KB
Original Source

NormalViewProperties.HorizontalBarState Property

Gets or sets the state of the horizontal splitter bar (separates the slide area from the notes pane).

Namespace : DevExpress.Docs.Presentation

Assembly : DevExpress.Docs.Presentation.v25.2.dll

NuGet Package : DevExpress.Docs.Presentation

Declaration

csharp
public SplitterBarState HorizontalBarState { get; set; }
vb
Public Property HorizontalBarState As SplitterBarState

Property Value

TypeDefaultDescription
SplitterBarStateSplitterBarState.Restored

The horizontal splitter bar state.

|

Available values:

NameDescription
Minimized

The slide region occupies the minimum available space within the application’s viewing area.

| | Restored |

The primary region has a specific intermediate size.

| | Maximized |

The slide region occupies the maximum available space within the application’s viewing area.

|

Remarks

The following code snippet maximizes the horizontal bar (gives more space for the slide region):

csharp
using (Presentation presentation = new Presentation("document.pptx")) {
    presentation.ViewProperties.NormalViewProperties.HorizontalBarState =
        SplitterBarState.Maximized;
}
vb
Using presentation As New Presentation("document.pptx")
    presentation.ViewProperties.NormalViewProperties.HorizontalBarState = 
        SplitterBarState.Maximized
End Using

See Also

NormalViewProperties Class

NormalViewProperties Members

DevExpress.Docs.Presentation Namespace