J
jdelphi
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure TForm1.Button1Click(Sender: TObject);<br>var<br> ss:string;<br> re:trect;<br>begin<br> ss:='你好,欢迎光临';<br> re:=rect(5,5,20,500);<br> DrawText(Canvas.handle,pchar(ss),length(ss),re,dt_singleline or dt_vcenter);<br>end;<br>显示还是横的