Skip to main content
All docs
V25.1
  • NormalViewRestoredProperties(Double, Boolean) Constructor

    Initializes a new instance of the NormalViewRestoredProperties class with specified settings.

    Namespace: DevExpress.Docs.Presentation

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

    NuGet Package: DevExpress.Docs.Presentation

    Declaration

    public NormalViewRestoredProperties(
        double size,
        bool autoAdjust = true
    )

    Parameters

    Name Type Description
    size Double

    The slide region size (width when used with RestoredTop properties; height when used with RestoredLeft properties) between 0.0 and 100.0.

    Optional Parameters

    Name Type Default Description
    autoAdjust Boolean True

    true if the slide region size should adjust its size when the presentation window is resized; otherwise false.

    Remarks

    The following code snippet creates the NormalViewRestoredProperties instance with the specified AutoAdjust and Size properties:

    DevExpress Presentation Views - Extend Side Content Region

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