ImageEn, unit imageenview |
|
TImageEnView.OnRulerGetText
Declaration
property OnRulerGetText: TRulerGetTextEvent;
Description
Occurs whenever values are drawn on a
ruler allowing customization of the text.
procedure TForm1.ImageEnView1RulerGetText(Sender: TObject; RulerDir: TRulerDir; Value: double; var Text: string)
begin
// Output ruler in Roman numerals
Text := IntToRomanNumerals( Round( Value ));
end;