Autor Beitrag
Jakob_Ullmann
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1747
Erhaltene Danke: 15

Win 7, *Ubuntu GNU/Linux*
*Anjuta* (C, C++, Python), Geany (Vala), Lazarus (Pascal), Eclipse (Java)
BeitragVerfasst: Di 13.02.07 15:07 
Hi Leute,

weiß jemand von euch, wie ich den Inhalt eines RichEdits drucken kann?
Also mit Berücksichtigung von BorderWidth.
Sonst ist das immer so an den Rand geklatscht.
Kann mir jemand helfen?
giantdwarf
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 35


Delphi 5, Delphi 2006 Prof, Delphi 2009
BeitragVerfasst: Di 13.02.07 15:59 
Das Drucken geht (wie du wahrscheinlich schon weißt) mit RichEdit1.print('mydocument').

Um die Seitenränder einzustellen, brauchst Du eine Komponente um die Seite einrichten zu können, ich habe mal TPreviewPrinter verwendet. Autor: Ben Ziegler, gefunden auf ww.torry.ru als freeware.

Ich hoffe, das hilft Dir weiter.
Jakob_Ullmann Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1747
Erhaltene Danke: 15

Win 7, *Ubuntu GNU/Linux*
*Anjuta* (C, C++, Python), Geany (Vala), Lazarus (Pascal), Eclipse (Java)
BeitragVerfasst: Sa 17.02.07 11:36 
Dankeschön.