improve:PPT联动

This commit is contained in:
2026-01-18 08:18:38 +08:00
parent b3cb53b482
commit ff58675069
2 changed files with 13 additions and 8 deletions
+5
View File
@@ -303,6 +303,11 @@ namespace Ink_Canvas.Helpers
PPTROTConnectionHelper.SafeReleaseComObject(bestApp);
bestApp = null;
}
else if (bestApp == null && PPTApplication != null)
{
LogHelper.WriteLogToFile("检测到PPT已关闭,断开连接", LogHelper.LogType.Trace);
DisconnectFromPPT();
}
}
if (PPTApplication != null && _pptActivePresentation != null)