Skip to main content
All docs
V25.1
  • 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

    public ViewType ActiveViewType { get; set; }

    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

    Normal Slide View

    DevExpress Presentation API - Normal Slide View

    SlideMasterView

    Slide Master View

    DevExpress Presentation API - Slide Master View

    NotesView

    Notes View

    DevExpress Presentation API - Notes View

    HandoutView

    Handout View

    DevExpress Presentation API - Handout View

    NotesMasterView

    Notes Master View

    DevExpress Presentation API - Notes Master View

    OutlineView

    Outline View

    DevExpress Presentation API - Outline View

    SlideSorterView

    Slide Sorter View

    DevExpress Presentation API - Slide Sorter View

    SlideThumbnailView

    Slide Thumbnail View. In presentation software, this view is generally managed as part of the NormalSlideView.

    Remarks

    The following code snippet defines the view that an application displays when a user open the presenation:

    DevExpress Presentation API - Handout View

    using (Presentation presentation = new Presentation("document.pptx")) {
        presentation.ViewProperties.ActiveViewType = ViewType.HandoutView;
    }
    
    See Also