Method GetDisplaySizeSansBar
GetDisplaySizeSansBar(IDriver)
Gets the display size minus the button bar depending on the current display orientation.
Declaration
public static (int sansBarWidth, int sansBarHeight) GetDisplaySizeSansBar(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. |