打开PPT文件的问题
打开PPT文件:
Microsoft.Office.Interop.PowerPoint.Presentation pptPre = pptApp.Presentations.Open(filePath,
Microsoft.Office.Core.MsoTriState.msoTrue,
Microsoft.Office.Core.MsoTriState.msoFalse,
Microsoft.Office.Core.MsoTriState.msoFalse);
报错error CS1503: Argument '3': cannot convert from 'Microsoft.Office.Core.MsoTriState [\Debug\Interop.Microsoft.Office.Core.dll]' to 'Microsoft.Office.Core.MsoTriState []'
但是方法定义明明是Microsoft.Office.Core.MsoTriState呀
请指点