DSOFile 修改文件文件摘要 System.Diagnostics.Process p = new System.Diagnostics.Process(); p.StartInfo.FileName = "regsvr32"; p.StartInfo.Arguments = "DSOFile.dll"; p.Start(); p.WaitForExit(); p.Close(); p.Dispose(); string path = @"C:\Documents and Settings\Administrator\桌面\Image\5-6-7-8.24.jpg"; DSOFile.OleDocumentProperties dso = new DSOFile.OleDocumentProperties(); dso.Open(path, false, DSOFile.dsoFileOpenOptions.dsoOptionOpenReadOnlyIfNoWriteAccess); dso.SummaryProperties.Title = "This is the Title"; dso.SummaryProperties.Subject = "This is the Subject"; dso.SummaryProperties.Company = "RTDev"; dso.SummaryProperties.Author = "Ron T."; dso.Save();
2022-03-30 16:20:41 62KB DSOFile 修改文件摘要 修改文件备注
1