XIScaleX function

Unit: XIParser

Declaration:

function XIScaleX(aValue: Integer): Integer;

This function is used for making XI really DPI independent. Since DPI settings of the screen when you are creating your XML script may differ from those when the application executes, we need some form of scaling for width, height and indents values when loading them from the XML script parameters. Use XIScaleX to scale horizontal dimension values.

When creating your script, you must specify current DPI settings of screen in the dpix and dpiy parameters of the root tag. In fact, if you use XIEditor, those values will be automaticaly calculated and inserted in the script. For more information see the XML Interface Definition Reference topic.

 

The CHM file was converted to HTML by chm2web software.