Hi
I'm trying to export winGrid to pdf file. all good but the background image in winGrid is not appeared in pdf. (using UGDocExporter)
any clue how to do it ?
*tried to make it around --> doc.report + doc.Isection + doc.IsectionPage.AddImage(), but the wingrid appears in next page, not overlapping this image (as a background).
*winGrid has a transparent cell with background image in winGrid.
Thanks so much.
Hello Hermanw,
If I understand well your requirements, maybe one possible approach to achieve desired behavior could be if you are using:
Report rt = new Report();
ISection sct = rt.AddSection();
IStationery sta = sct.AddStationery();
sta.AddImage(new Infragistics.Documents.Reports.Graphics.Image(UltraGirdReportExportWithHeading.Properties.Resources.SU_374444___Copy), 0, 0, 0);
ultraGridDocumentExporter1.Export(ultraGrid1, sct);
rt.Publish("..\\..\\grid.pdf", FileFormat.PDF);
System.Diagnostics.Process.Start("..\\..\\grid.pdf");
Please let me know if you have any questions
Hi Georgi
the Grid exported on top of the image, and the image does not appear because under the grid (not transparent),
but if I remove the export grid, the image will show.
** this one, image will not show as background
Image img = new Image("c:/site.jpg");
sta.AddImage(img, 0, 0, 0);
ultraGridDocumentExporter1.Export(ultraGrid1, sct); **--> if commented this line, img will show
**note : i couldnt find control UltraGridReportExportWithHeading ?
Thanks again.