officefileapi-devexpress-dot-docs-dot-presentation-dot-viewproperties.md
Gets or sets the preferred initial view type of the presentation. This property does not guarantee that the presentation application displays the presentation in this view.
Namespace : DevExpress.Docs.Presentation
Assembly : DevExpress.Docs.Presentation.v25.2.dll
NuGet Package : DevExpress.Docs.Presentation
public ViewType ActiveViewType { get; set; }
Public Property ActiveViewType As ViewType
| Type | Description |
|---|---|
| ViewType |
The type of the preferred initial view that the application displays when a user opens the presentation.
|
Available values:
| Name | Description |
|---|---|
| NormalSlideView |
| | SlideMasterView |
| | NotesView |
| | HandoutView |
| | NotesMasterView |
| | OutlineView |
| | SlideSorterView |
| | SlideThumbnailView |
Slide Thumbnail View. In presentation software, this view is generally managed as part of the NormalSlideView.
|
The following code snippet defines the view that an application displays when a user open the presenation:
using (Presentation presentation = new Presentation("document.pptx")) {
presentation.ViewProperties.ActiveViewType = ViewType.HandoutView;
}
Using presentation As New Presentation("document.pptx")
presentation.ViewProperties.ActiveViewType = ViewType.HandoutView
End Using
See Also