Hi,
I'm trying to figure out how to implement proper page margins for a given section. I thought setting the sections spacing would effectively give me what I want, however, the problem I am having is that when adding the header or footer to the section, they don't appear to be taking the sections spacing into account. The content inside the header or footer is at the edge of the document instead of starting where the spacing ends. I would have thought when adding content to the header/footer the coordinates (0,0) would start where the spacing of the section ends, I'm I wrong about that. I also have added a grid to the section and it appears to be using the sections spacing appropriately. Below is mostly what I am using, is there something I'm missing to get the headers and footers to drawn between the sections spacings?
Siberix.Report.Section.ISection section = this.SiberixReport.AddSection();
section.Size = Siberix.Report.PageSize.Letter;
section.Spacings.All = 35f;
section.Orientation = Siberix.Report.Orientation.Portrait;
Siberix.Report.Section.IFooter footer = section.AddFooter(); -- this footer is drawn at the edge of the document instead of between the sections spacing.
footer.Repeat = true;
Siberix.Report.Grid.IGrid grid = section.AddGrid(); -- this grid is drawn in between the sections spacing.
Thanks,
Matt