Skip to main content
All docs
V25.1
  • .NET Framework 4.6.2+

    IEasyTestScreen.SetActiveWindowSize(Size) Method

    Resizes an active window.

    Namespace: DevExpress.EasyTest.Framework

    Assembly: DevExpress.EasyTest.v25.1.dll

    NuGet Package: DevExpress.EasyTest

    Declaration

    void SetActiveWindowSize(
        Size size
    )

    Parameters

    Name Type Description
    size Size

    The active window size.

    Remarks

    Use the SetActiveWindowSize method to set a window size before calling the GetScreenshot() method to guarantee that window sizes on the actual and expected screenshots are the same.

    See Also