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
210
XamDataGrid Report ignores PageMediaSize
posted

Hi,

I have a XamDataGrid I want to export to a Pdf file. Cause this is not possible I try to export it to xps. 

But the thing is, I want one single 'endless' page with the grid.
I tried this by setting the PageMediaSize of a Report, but whatever I set it is ignored. Just small values really make the pages smaller. Verything bigger then A4 is ignored.

            Report reportObj = new Report();

            EmbeddedVisualReportSection section = new EmbeddedVisualReportSection(XamDataGridMappen);

            reportObj.Sections.Add(section);
            reportObj.ReportSettings.PageMediaSize = new System.Printing.PageMediaSize(2000, 9000);

            datei = @"C:\Users\" + Environment.UserName + @"\Documents\DispoExport2.xps";

            reportObj.Export(OutputFormat.XPS, datei);

Greetings Benedikt

Parents
No Data
Reply
  • 18204
    Verified Answer
    Offline posted

    Hello Benedikt,

    Thank you for posting in our forums!

    After investigating this and doing some research, this has been determined to be a product idea. You can suggest new product ideas for future versions (or vote for existing ones) at https://www.infragistics.com/community/ideas.

    Submitting your idea will allow you to communicate directly with our product management team, track the progress of your idea at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.

    Remember when submitting your idea to explain the context in which a feature would be used and why it is needed as well as anything that would prevent you from accomplishing this today. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it.   You can also link back to this thread for additional details.

    Thank you in advance to submitting your product idea.

Children
No Data