C# FastReport .NET打印

0
10

引用DLL : FastReport.dll

 FastReport.Report sender = new FastReport.Report();
            try
            { 
             sender.Load("fastreport 编写的打印模板frx");
             FastReport.Utils.Config.ReportSettings.ShowProgress = false;
                    //设置不可预览模式
                    sender.PrintSettings.ShowDialog = false;
                   // sender.Show();
                    sender.Print();
            }
            catch (Exception ex)
            {
                return false;
            }
            finally
            {
                sender.Dispose();
            }        

<

发布回复

请输入评论!
请输入你的名字