Skip to main content
All docs
V26.1
  • ResizeMode Enum

    Lists the modes that determine how slides are resized when the Presentation.ResizeSlides method is called.

    Namespace: DevExpress.Docs.Presentation

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

    NuGet Package: DevExpress.Docs.Presentation

    Declaration

    public enum ResizeMode

    Members

    Name Description
    Center

    The presentation keeps slide content at its original size and centers it on the resized slides. Only the offsets between elements change; element sizes remain the same.

    Stretch

    The presentation scales the content width and height independently to match the new slide size exactly. The horizontal and vertical scale factors can differ, which may distort the aspect ratio.

    EnsureFill

    The presentation uniformly scales the content to cover the new slide using the larger scale factor, preserves the aspect ratio, crops any overflow, and centers the content.

    EnsureFit

    The presentation uniformly scales the content to fit entirely within the new slide using the smaller scale factor. The aspect ratio is preserved, empty margins may remain, and the content is centered.

    See Also