DTI.ScaleFactor

<< Click to Display Table of Contents >>

Navigation:  3. Script Language > Window Operations > DTI.-Desktop & Mouse Commands >

DTI.ScaleFactor

MiniRobotLanguage (MRL)

 

DTI.ScaleFactor

Return DPI-Scaling Factor for the primary Screen (Monitor)

 

 

Intention

 

This command will give you the Scale-Factor of the primary Monitor. You will get the X- and the Y-Scale.

This Command is for the primary Monitor-Screen. You can not get the Factor for other connected Monitors if the are different.

 

 

clip0346

.

 

DTI.sf|$$XFA|$$YFA

MBX.$$XFA,$$YFA

ENR.

 

clip0345

 

 

Syntax

 

 

DTI.ScaleFactor[|P1][|P2]

 

 

Parameter Explanation

 

P1 - (optional) Variable, X-Result, If omitted the Result will be placed on TOS.

P2 - (optional) Variable, Y-Result, If omitted the Result will be placed on TOS.

 

 

 

Example

 

'*************************************

' Example 1

'*************************************

DTI.sf|$$XFA|$$YFA

MBX.$$XFA,$$YFA

END.

 

 

Remarks

 

 

 

Limitations:

 

-

 

 

See also: