|
|
|
|
|
CoordinateScreenToEditor (Function) In french: CoordonnéeEcranVersEditeur Converts a size or a position specified in the native dpi of the screen on the device where the application is run to the reference dpi in the editor (160 dpi). This function is mainly used to perform a positioning at pixel level.
nX is int = CoordinateScreenToEditor(MonChampSaisie.X)
nY is int = CoordinateScreenToEditor(MonChampSaisie.Y)
nLargeur is int = CoordinateScreenToEditor(MonChampSaisie.Largeur)
nHauteur is int = CoordinateScreenToEditor(MonChampSaisie.Hauteur)
Syntax
<Result> = CoordinateScreenToEditor(<Value>)
<Result>: Integer Conversion result: converted size or position in the reference dpi under the editor (160 dpi).
<Value>: Integer Value to convert: given size or position in the device's native screen dpi.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|