procedure TReportForm.PrintHeaderReport2(Sender: TObject);
begin {打印报表2的头注}
with Sender as TBaseReport do begin
MarginTop := 0.5;
SetFont('Arial',24);
//设置打印头注的字体和大小
Underline := true;
//在头注下打印下线
Home;
//将光标移到第一行的开始位置
PrintCenter('人员简况', PageWidth / 2);
//在当前行的中间位置打印头注
MarginTop := 1.0;
end; { with }
end; { 打印报表2的头注 }
打印报表的头注
最新推荐文章于 2022-11-17 11:39:06 发布
8863

被折叠的 条评论
为什么被折叠?



