officefileapi-devexpress-dot-docs-dot-presentation-dot-normalviewproperties-ea19b70e.md
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
public SplitterBarState HorizontalBarState { get; set; }
Public Property HorizontalBarState As SplitterBarState
| Type | Default | Description |
|---|---|---|
| SplitterBarState | SplitterBarState.Restored |
The horizontal splitter bar state.
|
Available values:
| Name | Description |
|---|---|
| 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.
|
The following code snippet maximizes the horizontal bar (gives more space for the slide region):
using (Presentation presentation = new Presentation("document.pptx")) {
presentation.ViewProperties.NormalViewProperties.HorizontalBarState =
SplitterBarState.Maximized;
}
Using presentation As New Presentation("document.pptx")
presentation.ViewProperties.NormalViewProperties.HorizontalBarState =
SplitterBarState.Maximized
End Using
See Also