如何打印 TChart?
我显示了一个TChart,屏幕上有一个TButton。
单击 TButton 时,将显示 Windows 打印机对话框,并且 TChart 将打印到所选打印机。
如何使用 Delphi 7 做到这一点?
谢谢。
最佳答案
这非常简单:
procedure TForm1.Button1Click(Sender: TObject);
begin
with TPrintDialog.Create(nil) do
try
if Execute then
Chart1.Print;
finally
Free;
end;
end;
关于德尔福7 : How to print a TChart?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8401588/