Delphi elevation public function