Skip to main content
All docs
V25.1
  • NormalViewRestoredProperties.AutoAdjust Property

    Gets whether the slide region size should adjust its size when the presentation window is resized.

    Namespace: DevExpress.Docs.Presentation

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

    NuGet Package: DevExpress.Docs.Presentation

    Declaration

    public bool AutoAdjust { get; }

    Property Value

    Type Description
    Boolean

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

    Remarks

    Create a NormalViewRestoredProperties instance with its constructor to specify this property value.

    The following code snippet extends the side content region (sets its Size to 100.0) and enables its size autoadjustment:

    DevExpress Presentation Views - Extend Side Content Region

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