Method SetScreenSize
SetScreenSize(int, int)
Sets the screen size for testing purposes. Only supported by FakeDriver. Screen is the source of truth for screen dimensions. Cols and Rows are read-only and derived from Screen.
public virtual void SetScreenSize(int width, int height)
Parameters
Exceptions
- NotSupportedException
Thrown when called on non-FakeDriver instances.