Hello,
I want to read Powerpoint with a c# code. There are MsoTrue and MsoFalse types in the code. Therefore, I will put 2 variables of type MsoTriState in the invoke code.
I wrote Microsoft.Office.Core.MsoTriState.msoTrue as variable value, but I get the warning in the picture.
var FullFilePath= InputFullFilepath;
var app = new Microsoft.Office.Interop.PowerPoint.Application();
var ppt = app.Presentations.Open(FullFilePath, WithWindow: Microsoft.Office.Core.MsoTriState.msoTrue);