ImageEn, unit imageenview

TImageEnView.RulerParams

TImageEnView.RulerParams


Declaration

property RulerParams: TIEViewRulerParams;


Description

Allows you to configure the properties of your rulers.



Demo

Demo  Demos\Other\ImageEnViewRulers\ImageEnViewRulers.dpr


Example

// Show rulers in TImageEnView
ImageEnView1.ShowRulers := [ rdHorizontal, rdVertical ];

// Set units to CM
ImageEnView1.RulerParams.Units := ieuCentimeters;

// Disable units popup menu (when clicking on ruler)
ImageEnView1.RulerParams.EnablePopupMenu := False;