Multi Crystal Reports printing - Code

ReportDocument reportDocument;

Load……

reportDocument.ReportDefinition.Sections["Details"].SectionFormat.EnableNewPageAfter = true;
reportDocument.ReportDefinition.Sections["Header"].SectionFormat.EnableKeepTogether = true;

reportDocument.ReportDefinition.Sections["Footer"].SectionFormat.EnableKeepTogether = true;

 

posted @ 2012-02-01 14:43  眯妖  阅读(253)  评论(3编辑  收藏  举报