Convert From c# - For Report Viewer Report save as PDF format
-
Hi Iam using the below codes to save the report as PDF in c#...Is it possible to convert it in C++/Cli
Thanks:thumbsup:
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);
} -
Hi Iam using the below codes to save the report as PDF in c#...Is it possible to convert it in C++/Cli
Thanks:thumbsup:
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);
} -
Hi Iam using the below codes to save the report as PDF in c#...Is it possible to convert it in C++/Cli
Thanks:thumbsup:
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);
}Yep, conversion should be straightforward. 'using' is unnecessary. 'gcnew' instead of 'new'. :: to scope namespaces and clases instead of '.', etc..
-
Yep, conversion should be straightforward. 'using' is unnecessary. 'gcnew' instead of 'new'. :: to scope namespaces and clases instead of '.', etc..
THANKS:thumbsup: