ICreateArchive OpenCreateZAR
为当前打开的镜头数据系统创建一个ZOS存档文件。
ICreateArchive cZAR = Tools.OpenCreateZAR(); if (cZAR != null) { cZAR.UseDataCompression = true; // // if the Optical System has an archive associated with it, this is it. // if not, then a default name is constructed. // string zarFilename = cZAR.GetArchiveFileName(); if (cZAR.SetArchiveFileName(fullFileName: "C:\\Temp\\testZARCreation")) { // // the Archive File Name was successfully set. // } if (!cZAR.Run()) { // // we were unable to Run the tool. // } cZAR.Close(); }
下一部分: