TImageEnVect.MeasureCoefX
Declaration
property MeasureCoefX: Double;
Description
Specifies a coefficient to convert a bitmap length to a real world length.
Example
// Convert 10 horizontal pixels to the specified measure unit (MUnit).
Real_length := ImageEnVect.MeasureCoefX * 10;
Transition Information
If you are transitioning your code to
TImageEnView Layers, MeasureCoefX has no single equivalent. Use
ScaleX with
IO.Params.DpiX (or
SetScale) to establish the same units-per-pixel relationship used when measuring.
ImageEnView1.SetScale( 100, 1, ieuInches );