Skip to main content
All docs
V23.2
.NET 6.0+

IEasyTestScreen.SetActiveWindowSize(Size) Method

Resizes an active window.

Namespace: DevExpress.EasyTest.Framework

Assembly: DevExpress.EasyTest.v23.2.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