Method GetPixelSize
GetPixelSize(IDriver)
Gets the size of pixel depending on the current display orientation.
Declaration
public static (double width, double height) GetPixelSize(IDriver driver)
Parameters
Type | Name | Description |
---|---|---|
IDriver | driver | A Driver object. |
Returns
Type | Description |
---|---|
System.ValueTuple<System.Double, System.Double> | Zero in case of error. |