C# FastReport .NET打印


引用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();
            }        

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM