Pdf async conversion - Code test 3
This commit is contained in:
@@ -432,6 +432,7 @@ namespace Swarmops.Frontend.Automation
|
||||
" " +
|
||||
StorageRoot + relativeFileName +
|
||||
"-%04d.png\""); // Density 600 means 600dpi means production-grade conversion
|
||||
process.PriorityClass = ProcessPriorityClass.Idle; // play real nice now
|
||||
|
||||
int pageCounter = 0; // the first produced page will be zero
|
||||
int currentPageBaseProgress = progressFileStep*fileIndex + currentFilePageStep*pageCounter;
|
||||
@@ -518,7 +519,6 @@ namespace Swarmops.Frontend.Automation
|
||||
}
|
||||
|
||||
|
||||
|
||||
private class ProcessThreadArguments
|
||||
{
|
||||
public string Guid { get; set; }
|
||||
|
||||
@@ -115,7 +115,10 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
function(error) {
|
||||
function (error) {
|
||||
// try again
|
||||
|
||||
setTimeout(function() { <%=this.ClientID%>_repingPdfProgress(); }, 500);
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user