J jlcsx Unregistered / Unconfirmed GUEST, unregistred user! 2005-12-09 #1 fastreport3以上得版本,如何动态设置打印纸张大小?
J jlcsx Unregistered / Unconfirmed GUEST, unregistred user! 2005-12-09 #2 fastreport3以上得版本,如何动态设置打印纸张大小?
F flysand Unregistered / Unconfirmed GUEST, unregistred user! 2005-12-09 #3 frxReport1.Page.Height frxReport1.Page.Width
J jlcsx Unregistered / Unconfirmed GUEST, unregistred user! 2005-12-15 #4 设置过了,没有效果 frxReport1.Page.Height frxReport1.Page.Width
Z zxy666666 Unregistered / Unconfirmed GUEST, unregistred user! 2005-12-16 #5 procedure TForm1.frxReport1BeforePrint(Sender: TfrxReportComponent); begin TfrxReportPage(frxReport1.FindObject('Page1')).PaperHeight := 500 ; TfrxReportPage(frxReport1.FindObject('Page1')).PaperWidth := 600 ; end;
procedure TForm1.frxReport1BeforePrint(Sender: TfrxReportComponent); begin TfrxReportPage(frxReport1.FindObject('Page1')).PaperHeight := 500 ; TfrxReportPage(frxReport1.FindObject('Page1')).PaperWidth := 600 ; end;
F flysand Unregistered / Unconfirmed GUEST, unregistred user! 2005-12-18 #6 这样应该可以了吧! frxReport1.Pages[0].Height frxReport1.Pages[0].Width
Y yuanguoxing1976 Unregistered / Unconfirmed GUEST, unregistred user! 2005-12-18 #7 //必须先设置宽度与高度,否则有些编号的纸型出不来 Page.PaperWidth:=; Page.PaperHeight:=; //高度与宽度 if 是自定义纸张 then Page.PaperSize:=DMPAPER_USER else Page.PaperSize:=纸张代码; Page.Orientation:=方向; Page.TopMargin:=; Page.LeftMargin:=; Page.RightMargin:=; Page.BottomMargin:=; //四个边距
//必须先设置宽度与高度,否则有些编号的纸型出不来 Page.PaperWidth:=; Page.PaperHeight:=; //高度与宽度 if 是自定义纸张 then Page.PaperSize:=DMPAPER_USER else Page.PaperSize:=纸张代码; Page.Orientation:=方向; Page.TopMargin:=; Page.LeftMargin:=; Page.RightMargin:=; Page.BottomMargin:=; //四个边距
Z zld36 Unregistered / Unconfirmed GUEST, unregistred user! 2005-12-22 #9 var page:tfrxreportpage; m,n: integer; begin page:=tfrxreportpage(frxreport1.Pages[0]); page.PaperSize:=dmpaper_user; Page.PaperWidth:=n; page.PaperHeight:=m; end;
var page:tfrxreportpage; m,n: integer; begin page:=tfrxreportpage(frxreport1.Pages[0]); page.PaperSize:=dmpaper_user; Page.PaperWidth:=n; page.PaperHeight:=m; end;