In JAVA you'd say :
JRXhtmlExporter exporter = new JRXhtmlExporter();
exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, destFile.toString());
But using jni4Net I cant find setParameter
instance method (Note: It's inherited from JRAbstractExporter).
I dont know If this work around works in C#:
JRXhtmlExporter exporter = new JRXhtmlExporter();
exporter.getExportParameters().put(JRExporterParameter.JASPER_PRINT,print);
java.lang.String FileName = "rep.html";
exporter.getExportParameters().put(JRExporterParameter.OUTPUT_FILE_NAME, FileName);
But I had another roadblock : I cant find JRXhtmlExporter.exportReport method !!
What can cause this ?