How to Show detail section only with out any space in Active Report
- by Sunil Naudiyal
i have a active report without any Page Header , Report Header and no any Footer type section.
for more detail see attached image.
Now issue is that When we run this report we got space before report detail.
for more detail see attached image
Below is my code
Assembly asm = Assembly.GetAssembly(this.GetType());
System.IO.Stream stre = asm.GetManifestResourceStream(asm.GetName().Name + ".CoverPage.rpx");
using (XmlTextReader xr = new XmlTextReader(stre))
{
arCoverPage.LoadLayout(xr);
}
//Get detail for Cover Page
AddingReportSection(report, HeaderType.CoverPage);
arCoverPage.DataSource = lstCoverPage;
arCoverPage.Run();
I want remove this space.so please give me any suggestion/idea
I also tried to set height of page but i am not get sucess.
arCoverPage.PageSettings.DefaultPaperSize = false;
arCoverPage.PageSettings.Gutter = 3.0F;
arCoverPage.PageSettings.Orientation = DataDynamics.ActiveReports.Document.PageOrientation.Portrait;
arCoverPage.PageSettings.PaperHeight = 5.0F;
this.viReport.Document = arCoverPage.Document;