Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
190
export grid include background image to pdf
posted

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.

 

Parents
  • 53790
    posted

    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

Reply Children
No Data