Hi,
I am using the Report Engine to create a report with multiple grids/tiles. I am using a "section" and created a sectionfooter. I have an image that I have been trying to align to the right of the footer, but cannot get it to work.
I was playing around with the sectionFooter.AddImage(img, 0, 0) left margin - but depending on the set of grids I export this could end up in a different position on the page (or not at all since it would be off the page).
Please help - how do I left align an image to the right of the bottom of the page, regardless of the grids or data I am exporting.
Thanks,
Gerry
Sorry to be confusing:
Bottom Line: I have an image that I need to display in the bottom right on every page.
When I try to specify the position in pixels of the image it never shows up in the same place every time I export a grid (since I resize the grid columns when I load data).
Is there some type of alignment property for the image?
I'm not quite sure where you are adding the image but something like this might work for you.
bandFooterText.AddContent(
new Infragistics.Documents.Graphics.Image(Application.StartupPath + "/Resources/image.jpg"), new Infragistics.Documents.Graphics.Size(60, 35), new Infragistics.Documents.Report.Indents(5), Infragistics.Documents.Report.ImageAlignment.Left);
If you get chance the sample in the Windows Forms Feature Browser > Publishing and Printing is very helpful. There is a Samples Gallery and you can explore the code for the types of affects you want to create.
Marianne