fastreport中如果动态设置纸张,如A3,A4,B5纸等
建军黄 2007-07-03 04:48:43 var v,u,x,y: TfrView; b: TfrBandView; Page: TfrPage;
begin
//创建一个页面
frReport5.Pages.Clear;
frReport5.Pages.Add;
Page := frReport5.Pages[0];
Page.Prop['Size'] := 'US Std Fanfold, 14 7/8 x 11"';
我想将新创建的页面的纸张格式设置为 US Std Fanfold, 14 7/8 x 11" , 但上面的代码执行不了, 运行时提示:
Could not convert variant of type(string) into type(Boolean)
请教高手如何动态设置打印的纸张???