|
|
|
|
CoordinateEditorToScreen (Function) In french: CoordonnéeEditeurVersEcran Converts a size or a position specified in the reference dpi in the editor (160 dpi) to the native dpi of screen on the device where the application is run. This function is mainly used to perform a positioning at pixel level. EmulateMouse(WIN_Test.IMG_Circuit, emLeftClick, ... CoordinateEditorToScreen(68), CoordinateEditorToScreen(43)) EmulateMouse(WIN_Test.IMG_Circuit, emLeftClick, ... CoordinateEditorToScreen(259), CoordinateEditorToScreen(45)) EmulateMouse(WIN_Test.IMG_Circuit, emLeftClick, ... CoordinateEditorToScreen(161), CoordinateEditorToScreen(139)) EmulateMouse(WIN_Test.BTN_OK, emLeftClick
Syntax
<Result> = CoordinateEditorToScreen(<Value>)
<Result>: Integer Conversion result: size or position converted into the native dpi of device screen.
<Value>: Integer Value to convert: size or position specified in the reference dpi in the editor (160 dpi). Remarks - CoordinateScreenToEditor makes the opposite conversion, i.e., go from the native dpi of the device where the application is run to the reference dpi in the editor (160 dpi).
- CoordinateEditorToScreen must not be used with the drawing functions. Indeed, the DPI of the device may differ from the scale factor used by the drawing functions.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|