Method GetDisplaySize
GetDisplaySize(IDriver)
Gets the display size in dots.
Declaration
public static (int width, int height) GetDisplaySize(IDriver driver)
Parameters
Type | Name | Description |
---|---|---|
IDriver | driver | A driver object. |
Returns
Type | Description |
---|---|
System.ValueTuple<System.Int32, System.Int32> | Zero in case of error. |