I'm using in proc ras with the Crystal 2011 .NET SDK (version 12). I cannot set a detail section height smaller than 220 twip. It looks fine in the debugger after I set it but when I open the saved report the height is always 220 twips. I made sure there are no object larger than 125 twips and they are all positioned at the top of the section band.
CrystalDecisions.CrystalReports.Engine.ReportDocument rd = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
ISCDReportClientDocument rcd = rd.ReportClientDocument;
rd.Load(reportFilePath);
ReportDefController2 reportDef = rcd.ReportDefController;
CrystalDecisions.ReportAppServer.ReportDefModel.Section detailSection0 = reportDef.ReportDefinition.DetailArea.Sections[0];
detailSection0.Height = 125;
...
rd.SaveAs("C:\\TEST.RPT")
Edited by: John Lobaugh on Dec 10, 2011 2:39 AM
Edited by: John Lobaugh on Dec 10, 2011 2:40 AM