I suggest to implement the following feature:
Allow programmers to set the TEMP folder used during an Export in the same way we can set the TEMP folder for Print Preview using LlPreviewSetTempPath(). The new method could be called LlExportSetTempPath(string tempFolderPath).
A typical use case might be:
I could create a temp folder, export the report, then delete the temp folder on a successful export, thus leaving a net zero gain in disk space usage.
This would be very useful so that I could manage my Temp space more effectively.
pseudo c# code snippet:
string _tempFolder = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
if (!Directory.Exists(_tempFolder))
{
Directory.CreateDirectory(_tempFolder);
}
LLReportObject.Core.LlExportSetTempPath(_tempFolder);
LLReportObject.Export(exportConfiguration);
Directory.Delete(_tempFolder, true);