Add Printing/Length as Documents are converted
This commit is contained in:
parent
0465438b86
commit
b80775a454
@ -106,8 +106,11 @@ namespace DataLoader
|
|||||||
}
|
}
|
||||||
string temppath = Path.GetTempFileName();
|
string temppath = Path.GetTempFileName();
|
||||||
string s = d.Save(temppath);
|
string s = d.Save(temppath);
|
||||||
|
float docLen = d.Length;
|
||||||
d.Close();
|
d.Close();
|
||||||
WaitMS(wms);
|
WaitMS(wms);
|
||||||
|
if (ci == null) ci = new ConfigInfo(null);
|
||||||
|
ci.AddItem("Printing", "Length", string.Format("{0:0.0000}",docLen));
|
||||||
docid = SaveDoc(temppath, title, ci);
|
docid = SaveDoc(temppath, title, ci);
|
||||||
File.Delete(temppath);
|
File.Delete(temppath);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user