JVCL Help:TJvTFPrinter.ConvertMeasure

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 one unit to another.


Pascal

 functionConvertMeasure(Value: Integer; FromMeasure: TJvTFPrinterMeasure; ToMeasure: TJvTFPrinterMeasure; Horizontal: Boolean): Integer;


Parameters

Parameters Description
Value: Integer The value to convert.
FromMeasure: TJvTFPrinterMeasure The measure to convert from.
ToMeasure: TJvTFPrinterMeasure The measure to convert to.
Horizontal: Boolean True if the measure is a horizontal measure.


Return Value

The converted value.


Description

Use this method to convert a value (Value) from one unit of measure (FromMeasure) to another (ToMeasure). Set Horizontal to true if Value is some horizontal measurement.


See Also

TJvTFPrinter.Measure


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