Hi
Alexey
Thanks for your reponse.
I have attached two screenshots and a doc-file to reproduce the problems.
The codepart, which causes the problems is listed below:
License i = new License();
i.SetLicense("Aspose.Words.lic");
Document doc = new Document(inStream);
if (doc.CustomDocumentProperties["SPDOCUMENTNUMBER"] == null)
doc.CustomDocumentProperties.Add("SPDOCUMENTNUMBER", docNo);
else
doc.CustomDocumentProperties["SPDOCUMENTNUMBER"].Value = docNo;
if (doc.CustomDocumentProperties["SPVERSION"] == null)
doc.CustomDocumentProperties.Add("SPVERSION", version);
else
doc.CustomDocumentProperties["SPVERSION"].Value = version;
if (doc.CustomDocumentProperties["SPLASTMODIFIED"] == null)
doc.CustomDocumentProperties.Add("SPLASTMODIFIED", checkinDate);
else
doc.CustomDocumentProperties["SPLASTMODIFIED"].Value = checkinDate;
doc.Save(outStream, SaveFormat.Doc);
Thanks in Advance
Tobias