CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Threaded View

  1. #1
    Join Date
    Dec 2011
    Posts
    73

    [RESOLVED] Convert From c# - For Report Viewer Report save as PDF

    Hi Iam using the below codes to save the report as PDF in c#...Is it possible to convert it in C++/Cli

    Thanks

    My Codes

    byte[] Bytes = Reportviewer1.LocalReport.Render(format:"PDF",deviceInfo:"");
    using (FileStream stream = new FileStream("C:\MyFolder", FileMode.Create))
    {
    stream.Write(Bytes, 0, Bytes.Length);
    }
    Last edited by MAHEY; June 17th, 2015 at 01:33 AM. Reason: Edited as ReportViewer1

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured