Einzelnen Beitrag anzeigen

thomas2009
(Gast)

n/a Beiträge
 
#4

Re: Pixel in Millimiter umrechnen mit dieser Funktion ?

  Alt 4. Feb 2009, 13:40
Es klappt nicht
Delphi-Quellcode:
procedure TForm1.Button1Click(Sender: TObject);
Var X, Y: Single;
begin
PixelsPerMM(Canvas, X, Y);
Edit3.Text := IntToStr(StrToInt(Edit1.Text) / X);
Edit4.Text := IntToStr(StrToInt(Edit2.Text) /Y);

end;
  Mit Zitat antworten Zitat