JVCL Help:TJvTFPrinter.ScreenToPrinter

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


Pascal

 functionScreenToPrinter(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 screen measurement to printer 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.PrinterToScreen


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