Registriert seit: 22. Mär 2005
Ort: Dingolfing
4.129 Beiträge
Turbo Delphi für Win32
|
Re: [Image] Text in der mitte eines Rechtecks
30. Jul 2006, 22:57
Zu 2.: Image1.Transparent:=True;
Zu 1.:
Delphi-Quellcode:
Image1.Canvas.TextOut(
(Image1.Width-Image1.Canvas.TextWidth(Text))div 2,
(Image1.Height-Image1.Canvas.TextHeight(Text))div 2,
Text);
Manuel Eberl „The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it.“
- Terry Pratchett
|