另存文件:
corel.StructSaveAsOptions saveOptions = new corel.StructSaveAsOptions()
{
EmbedVBAProject = true,
Filter = corel.cdrFilter.cdrCDR,
IncludeCMXData = false,
Range = corel.cdrExportRange.cdrAllPages,
EmbedICCProfile = true,
Version = corel.cdrFileVersion.cdrVersion17,
KeepAppearance = true
};
capp.ActiveDocument.SaveAs(savepath + ".cdr", saveOptions);
导出为Plt文件:
corel.StructExportOptions expopt = new corel.StructExportOptions
{
UseColorProfile = true
};
corel.ExportFilter expflt = capp.ActiveDocument.ExportEx(savepath + ".plt", corel.cdrFilter.cdrPLT, corel.cdrExportRange.cdrAllPages, expopt);
expflt.Finish();