JVCL Help:TJvDeviceInfo.XPxToInch

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Converts a pixel value to a logical inch value.


Pascal

 functionXPxToInch(Pixels: Integer): Single;


Parameters

Parameters Description
Pixels: Integer Value to convert.


Return Value

The converted value.


Description

Call XPxToInch to convert a pixel value to a logical inch. The conversion is done using the mapping of the horizontal extent in the current device context as specified by ReferenceHandle.
This is the opposite of the InchToXPx function.


See Also

TJvDeviceInfo.InchToXPx, TJvDeviceInfo.XPxToMM, TJvDeviceInfo.YPxToInch


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page