Skip to main content
All docs
V25.1
  • NormalViewRestoredProperties Struct

    Contains properties that define a region size when the normal view is active and the region is not minimized or maximized.

    Namespace: DevExpress.Docs.Presentation

    Assembly: DevExpress.Docs.Presentation.v25.1.dll

    NuGet Package: DevExpress.Docs.Presentation

    Declaration

    public readonly struct NormalViewRestoredProperties

    The following members return NormalViewRestoredProperties objects:

    Remarks

    Create a NormalViewRestoredProperties instance with its constructor to specify its properties.

    Define the Region Width

    This property defines the region width when used in the RestoredTop property. The following code snippet extends the side content region:

    DevExpress Presentation Views - Extend Side Content Region

    using (Presentation presentation = new Presentation("document.pptx")) {
        NormalViewRestoredProperties viewProps = new NormalViewRestoredProperties(100.0);
        presentation.ViewProperties.NormalViewProperties.RestoredLeft = viewProps;
    }
    

    Define the Region Height

    If this property is used in the RestoredLeft property, it defines the region height. The following code snippet resizes the slide region:

    DevExpress Presentation Views - Collapse Side Content Region

    using (Presentation presentation = new Presentation("document.pptx")) {
        NormalViewRestoredProperties viewProps = new NormalViewRestoredProperties(10.0);
        presentation.ViewProperties.NormalViewProperties.RestoredTop = viewProps;
    }
    
    See Also