新建
上传
首页
助手
最?/div>
资料?/div>
工具

Xtrareport 

 

1,

 

此报表在设置时,

paperkind

中找不到自定义的纸张,所以我就在事件

beforeprint

中,

 

this.Margins = new System.Drawing.Printing.Margins(10, 10, 10, 10); 

 

 

 

 

 

this.PaperKind = System.Drawing.Printing.PaperKind.Custom; 

 

 

this.PageWidth = 827; 

 

 

this.PageHeight = 584; 

 

 

this.PaperName = "21*13" 

2.

加载已有模板

 

xrpt1.LoadLayout(

@"E:\EMS.repx"

); 

Developer Express 

?/p>

 

XtraReport

报表预览控件

PrintControl

设置

 

using System; 

02 

using System.Collections.Generic; 

03 

using System.ComponentModel; 

04 

using System.Data; 

05 

using System.Drawing; 

06 

using System.Text; 

07 

using System.Windows.Forms; 

08 

using DevExpress.XtraEditors; 

09 

using DevExpress.XtraReports.UI; 

10 

using DevExpress.XtraPrinting.Preview; 

11 

using DevExpress.XtraPrinting; 

12 

using DevExpress.XtraPrinting.Control; 

13 

  

14 

namespace WFAXtraReport 

15 

{ 

16 

    public partial class Form1 : Form 

17 

    { 

18 

        public Form1 () 

19 

        { 

20 

            InitializeComponent(); 

21 

        } 

22 

  

Ͼλ
新建
上传
首页
助手
最?/div>
资料?/div>
工具

Xtrareport 

 

1,

 

此报表在设置时,

paperkind

中找不到自定义的纸张,所以我就在事件

beforeprint

中,

 

this.Margins = new System.Drawing.Printing.Margins(10, 10, 10, 10); 

 

 

 

 

 

this.PaperKind = System.Drawing.Printing.PaperKind.Custom; 

 

 

this.PageWidth = 827; 

 

 

this.PageHeight = 584; 

 

 

this.PaperName = "21*13" 

2.

加载已有模板

 

xrpt1.LoadLayout(

@"E:\EMS.repx"

); 

Developer Express 

?/p>

 

XtraReport

报表预览控件

PrintControl

设置

 

using System; 

02 

using System.Collections.Generic; 

03 

using System.ComponentModel; 

04 

using System.Data; 

05 

using System.Drawing; 

06 

using System.Text; 

07 

using System.Windows.Forms; 

08 

using DevExpress.XtraEditors; 

09 

using DevExpress.XtraReports.UI; 

10 

using DevExpress.XtraPrinting.Preview; 

11 

using DevExpress.XtraPrinting; 

12 

using DevExpress.XtraPrinting.Control; 

13 

  

14 

namespace WFAXtraReport 

15 

{ 

16 

    public partial class Form1 : Form 

17 

    { 

18 

        public Form1 () 

19 

        { 

20 

            InitializeComponent(); 

21 

        } 

22 

  

">
新建
上传
首页
助手
最?/div>
资料?/div>
工具

Xtrareport 

 

1,

 

此报表在设置时,

paperkind

中找不到自定义的纸张,所以我就在事件

beforeprint

中,

 

this.Margins = new System.Drawing.Printing.Margins(10, 10, 10, 10); 

 

 

 

 

 

this.PaperKind = System.Drawing.Printing.PaperKind.Custom; 

 

 

this.PageWidth = 827; 

 

 

this.PageHeight = 584; 

 

 

this.PaperName = "21*13" 

2.

加载已有模板

 

xrpt1.LoadLayout(

@"E:\EMS.repx"

); 

Developer Express 

?/p>

 

XtraReport

报表预览控件

PrintControl

设置

 

using System; 

02 

using System.Collections.Generic; 

03 

using System.ComponentModel; 

04 

using System.Data; 

05 

using System.Drawing; 

06 

using System.Text; 

07 

using System.Windows.Forms; 

08 

using DevExpress.XtraEditors; 

09 

using DevExpress.XtraReports.UI; 

10 

using DevExpress.XtraPrinting.Preview; 

11 

using DevExpress.XtraPrinting; 

12 

using DevExpress.XtraPrinting.Control; 

13 

  

14 

namespace WFAXtraReport 

15 

{ 

16 

    public partial class Form1 : Form 

17 

    { 

18 

        public Form1 () 

19 

        { 

20 

            InitializeComponent(); 

21 

        } 

22 

  

Ͼλ">
Ͼλ
Ŀ

xtrareport 的使用方?- 百度文库
新建
上传
首页
助手
最?/div>
资料?/div>
工具

Xtrareport 

 

1,

 

此报表在设置时,

paperkind

中找不到自定义的纸张,所以我就在事件

beforeprint

中,

 

this.Margins = new System.Drawing.Printing.Margins(10, 10, 10, 10); 

 

 

 

 

 

this.PaperKind = System.Drawing.Printing.PaperKind.Custom; 

 

 

this.PageWidth = 827; 

 

 

this.PageHeight = 584; 

 

 

this.PaperName = "21*13" 

2.

加载已有模板

 

xrpt1.LoadLayout(

@"E:\EMS.repx"

); 

Developer Express 

?/p>

 

XtraReport

报表预览控件

PrintControl

设置

 

using System; 

02 

using System.Collections.Generic; 

03 

using System.ComponentModel; 

04 

using System.Data; 

05 

using System.Drawing; 

06 

using System.Text; 

07 

using System.Windows.Forms; 

08 

using DevExpress.XtraEditors; 

09 

using DevExpress.XtraReports.UI; 

10 

using DevExpress.XtraPrinting.Preview; 

11 

using DevExpress.XtraPrinting; 

12 

using DevExpress.XtraPrinting.Control; 

13 

  

14 

namespace WFAXtraReport 

15 

{ 

16 

    public partial class Form1 : Form 

17 

    { 

18 

        public Form1 () 

19 

        { 

20 

            InitializeComponent(); 

21 

        } 

22 

  



ļ׺.doc޸Ϊ.docĶ

  • ճ(İ)
  • 2016-2020йϩҵչǰԤ⼰Ͷѯ
  • еղ
  • 꾮˾꿼()
  • йִѧʮ(ǮȺ)ֵѧѧбʼ+ȫʽ+ҡ
  • ż鷶
  • Ƹ칫ҹӡƸ취ͨ
  • ɻṹϵͳҵһִ
  • ϵм1ڱʼ

վ

԰ Ͼλ
ϵͷ779662525#qq.com(#滻Ϊ@)