ImageEn, unit ievect

TImageEnVect.ScaleFactor

TImageEnVect.ScaleFactor


Declaration

property ScaleFactor: double;


Description

Specifies the scale factor.

In the common representation X: Y (e.g. 1: 100000) is the Y value (100000).
This value, with IO.Params.DpiX and IO.Params.DpiY (and measure unit MUnit), weight the measurements of areas and line lengths.

Default: 1


Example

// Sets a scale factor of 1:100000
ImageEnVect1.ScaleFactor := 100000;


Transition Information

If you are transitioning your code to TImageEnView Layers, instead of ScaleFactor, use: TImageEnView.ScaleX/ScaleY

ImageEnView1.ScaleX := ...;