CompuMaster.MsPowerPointComInterop
1.0.2026.1112
dotnet add package CompuMaster.MsPowerPointComInterop --version 1.0.2026.1112
NuGet\Install-Package CompuMaster.MsPowerPointComInterop -Version 1.0.2026.1112
<PackageReference Include="CompuMaster.MsPowerPointComInterop" Version="1.0.2026.1112" />
<PackageVersion Include="CompuMaster.MsPowerPointComInterop" Version="1.0.2026.1112" />
<PackageReference Include="CompuMaster.MsPowerPointComInterop" />
paket add CompuMaster.MsPowerPointComInterop --version 1.0.2026.1112
#r "nuget: CompuMaster.MsPowerPointComInterop, 1.0.2026.1112"
#:package CompuMaster.MsPowerPointComInterop@1.0.2026.1112
#addin nuget:?package=CompuMaster.MsPowerPointComInterop&version=1.0.2026.1112
#tool nuget:?package=CompuMaster.MsPowerPointComInterop&version=1.0.2026.1112
CompuMaster.MsPowerPointComInterop
Automate Microsoft PowerPoint through COM on Windows with PowerPoint installed. The wrapper gives C# code access to PowerPoint's object model and manages diagnostic logs from its automation process.
using System;
using CompuMaster.MsPowerPointComInterop;
class Program
{
[STAThread]
static void Main()
{
using var powerpoint = new PowerPointApplication { PreserveDiagnosticLogFiles = true };
using var presentations = powerpoint.CreateWrapperAndRegisterComChildForDisposal(
powerpoint.InvokePropertyGet<object>("Presentations"));
using var presentation = presentations.CreateWrapperAndRegisterComChildForDisposal(
presentations.InvokeFunction<object>("Add", -1), // msoTrue opens a window
null, deck => deck.InvokeMethod("Close"), null);
Console.WriteLine(presentation.InvokePropertyGet<string>("Name"));
foreach (var log in powerpoint.DiagnosticLogFiles)
Console.WriteLine(log.FullName);
}
}
Start the example with PowerPoint closed and read DiagnosticLogFiles while the presentation window is open. By default, the wrapper removes confirmed logs after a clean shutdown and trims trailing NUL bytes after an abnormal exit. Set PreserveDiagnosticLogFiles to true to keep the files intact.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.0 is compatible. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| .NET Framework | net48 is compatible. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 3.0
- CompuMaster.ComInterop (>= 1.0.2026.1112)
-
.NETFramework 4.8
- CompuMaster.ComInterop (>= 1.0.2026.1112)
-
.NETStandard 2.1
- CompuMaster.ComInterop (>= 1.0.2026.1112)
-
net8.0
- CompuMaster.ComInterop (>= 1.0.2026.1112)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.2026.1112 | 0 | 11/12/2026 |