在打开某一PPT文档时报错,暂未发现其他ppt文档引发此异常。将此ppt文档另存为pptx文档后再打开,也不会发生异常。
code:using (Presentation pptxPresentation = new Presentation(pptfilepath))
exception message: System.InvalidCastException: Unable to cast object of type ‘System.Drawing.Imaging.Metafile’ to type ‘System.Drawing.Bitmap’.
文档见附件。MC-lecture1-YapingWang.ori.zip (2.5 MB)