Autor Beitrag
icolo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 26



BeitragVerfasst: Mo 28.04.03 14:44 
Hallo allerseits

Ich habe eine kleine Datenmenge, die ich ausdrucken möchte. Genauer: 3 Felder und viele Datensätze. Jetzt das Problem: Ich möchte, wenn der Text eines Feldes nicht auf einer Zeile Platz hat, ihn umbrechen und auf zwei Zeilen drucken.

Wenn es eine Funktion gäbe, die die Länge in Pixeln eines Schriftzugs (best. Grösse, best. Schriftart...) mit einer best. Auflösung ausgibt, wäre das Problem gelöst. Ich konnte nichts finden in dieser Hinsicht.

Ich bin dankbar für jeden Lösungsansatz und jede Hilfe!

greets, icolo
Terra23
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 872

Win 8
Delphi 7
BeitragVerfasst: Mo 28.04.03 14:50 
Ich glaube, daß geht mit Textwidht(String) oder Textheight(String).

_________________
Hasta La Victoria Siempre
icolo Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 26



BeitragVerfasst: Mo 28.04.03 14:57 
hammermässig! Nur, warum hab ich das bloss nicht gefunden!?
Jedenfalls danke für die prompte Hilfe!

greets, icolo