Skip to main content
All docs
V25.1
  • ImageEditToEditModeBehavior.Zoom(Double) Method

    Zooms the image by the specified scale factor.

    Namespace: DevExpress.Xpf.Editors

    Assembly: DevExpress.Xpf.Core.v25.1.dll

    NuGet Package: DevExpress.Wpf.Core

    Declaration

    public void Zoom(
        double factor
    )

    Parameters

    Name Type Description
    factor Double

    The scale factor. 1 is the current zoom level. Values between 0 and 1 zoom the image out. Values that are greater than 1 zoom the image in.

    Remarks

    MaxZoomFactor and MinZoomFactor properties specify the maximum/minimum scale factor to which users can zoom the image.

    See Also