NormalViewProperties

NormalViewProperties class

Represents normal view properties. The normal view consists of three content regions: the slide itself, a side content region, and a bottom content region.

public class NormalViewProperties : INormalViewProperties

Properties

NameDescription
HorizontalBarState { get; set; }Specifies the state that the horizontal splitter bar should be shown in. A horizontal splitter bar separates the slide from the content region below the slide.
PreferSingleView { get; set; }Specifies whether the user prefers to see a full-window single-content region over the standard normal view with three content regions. If enabled, the application may choose to display one of the content regions in the entire window. Read/write Boolean.
RestoredLeft { get; }This element specifies the sizing of the side content region of the normal view, when the region is of a variable restored size(neither minimized nor maximized). Read opnly INormalViewRestoredProperties.
RestoredTop { get; }This element specifies the sizing of the top slide region of the normal view, when the region is of a variable restored size(neither minimized nor maximized). Read only INormalViewRestoredProperties.
ShowOutlineIcons { get; set; }Specifies whether the application should show icons if displaying outline content in any of the content regions of normal view mode. Read/write Boolean.
SnapVerticalSplitter { get; set; }Specifies whether the vertical splitter should snap to a minimized state when the side region is sufficiently small. Read/write Boolean.
VerticalBarState { get; set; }Specifies the state that the vertical splitter bar should be shown in. A vertical splitter bar separates the slide from the side content region.

Examples

The following example shows how to configure ViewProperties.NormalViewProperties properties of a PowerPoint Presentation.

[C#]
//Instantiate a presentation object that represents a presentation file
using (Presentation pres = new Presentation("demo.pptx"))
{
    pres.ViewProperties.NormalViewProperties.HorizontalBarState = SplitterBarStateType.Restored;
    pres.ViewProperties.NormalViewProperties.VerticalBarState = SplitterBarStateType.Maximized;
    pres.ViewProperties.NormalViewProperties.RestoredTop.AutoAdjust = true;
    pres.ViewProperties.NormalViewProperties.RestoredTop.DimensionSize = 80;
    pres.ViewProperties.NormalViewProperties.ShowOutlineIcons = true;
    pres.Save("presentation_normal_view_state.pptx", SaveFormat.Pptx);
}

See Also