Added Printing/Length to Config
This commit is contained in:
parent
572ff1f085
commit
c37952b58c
@ -297,7 +297,7 @@ namespace VEPROMS.CSLA.Library
|
||||
_MyFile = new FileInfo(value);
|
||||
}
|
||||
}
|
||||
public void SaveFile()
|
||||
public void SaveFile(float length)
|
||||
{
|
||||
// TODO: Add Try & Catch logic
|
||||
if (_MyDocument == null) return;
|
||||
@ -309,6 +309,9 @@ namespace VEPROMS.CSLA.Library
|
||||
doc.FileExtension = MyFile.Extension;
|
||||
doc.DocContent = buf;
|
||||
doc.UpdateDocAscii(_MyFile.FullName);
|
||||
DocumentConfig cfg = new DocumentConfig(doc);
|
||||
cfg.Printing_Length = length;
|
||||
doc.Config = cfg.ToString();
|
||||
doc.UserID = Environment.UserName;
|
||||
doc.DTS = _MyFile.LastWriteTime;
|
||||
doc.Save();
|
||||
|
Loading…
x
Reference in New Issue
Block a user