JVCL Help:TJvTFPrinter.PrinterToScreen

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 value from printer units to screen units.


Pascal

 functionPrinterToScreen(Value: Integer; Horizontal: Boolean): Integer;


Parameters

Parameters Description
Value: Integer Value to convert.
Horizontal: Boolean True if Value is a horizontal measurement.


Return Value

The converted value.


Description

Use this method to change a value (Value) from printer measurement to screen measurement. For example, a one-inch line may be 300 pixels (printer resolution = 300 dpi), but a 300 pixel line on the screen probably would be much longer than one inch. Set Horizontal to True if Value is a horizontal measurement.


See Also

TJvTFPrinter.ScreenToPrinter


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