Posted 13 May 2022, 10:55 am EST
I have a C# windows forms legacy application that was developed using AR v10.
I need to quickly migrate it to ARv16 to see if it will solve some problems for us before potentially making a “real” investment in upgrading to AR 16.
I downloaded a trial of AR16 (we are licensed for v10) and used Nuget to get a number of DLLs that I appear to correspond to the AR10 versions. This has been haphazard but I have gotten rid of all the compiler problems so far.
But one… I have the line:
sectionReport.Document.Print(false,false,false);
I don’t know what the parameters do exactly but the line should be causing the report to print non-interactively. i.e. it should not show a print dialog box etc.
This line is not compiling as the document class seems to no longer have a print procedure. (I am pretty sure it used to have a Print(), that is, I don’t think this was an extension method.).
What is the approach for printing non-interactively in AR16?