ViewProperties.ActiveViewType Property
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.1.dll
NuGet Package: DevExpress.Docs.Presentation
Declaration
Property Value
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 |
Remarks
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;
}
See Also