c++builder中怎么动态设置fastreport的page的大小,怎么设置让组件居中
我在属性页可以设置page的大小,但是为什么程序中这样写不可以
TfrxReportPage* Page1 = (TfrxReportPage*)printFrm->frxReport1->FindObject("Page1");
Page1->PaperSize = 256;
Page1->PaperWidth = 100;//Width;
Page1->PaperHeight = 100;//Length;
大神们帮忙看看,谢谢了
[解决办法]
动态设置Page的大小要放在OnBeginDoc事件中
我不是大神哦。