Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft.Office.Interop.PowerPoint.Shape.Export #2047

Open
suzhouhu opened this issue Dec 17, 2022 · 0 comments
Open

Microsoft.Office.Interop.PowerPoint.Shape.Export #2047

suzhouhu opened this issue Dec 17, 2022 · 0 comments

Comments

@suzhouhu
Copy link

suzhouhu commented Dec 17, 2022

Bug Report

Environment ( Microsoft PowerPoint2019)

图片

System.Runtime.InteropServices.COMException
对 COM 组件的调用返回了错误 HRESULT E_FAIL。
Stack Trace:
在 Microsoft.Office.Interop.PowerPoint.Shape.Export(String PathName, PpShapeFormat Filter, Int32 ScaleWidth, Int32 ScaleHeight, PpExportMode ExportMode)
在 PowerPointLabs.Utils.GraphicsUtil.ExportShape(Shape shape, String exportPath)
在 PowerPointLabs.Models.PowerPointShapeGalleryPresentation.ConsistencyCheckShapeToPng(List`1 pngShapes, PowerPointSlide category, String shapeFolderPath)
在 PowerPointLabs.Models.PowerPointShapeGalleryPresentation.InitCategories()
在 PowerPointLabs.Models.PowerPointShapeGalleryPresentation.ConsistencyCheck()
在 PowerPointLabs.Models.PowerPointShapeGalleryPresentation.Open(Boolean readOnly, Boolean untitled, Boolean withWindow, Boolean focus)
在 PowerPointLabs.ThisAddIn.InitializeShapeGallery()
在 PowerPointLabs.ShapesLab.Views.CustomShapePaneWPF.SetStorageSettings()
在 PowerPointLabs.ShapesLab.CustomShapePane.InitCustomShapePaneStorage()
在 PowerPointLabs.ActionFramework.ShapesLab.ShapesLabActionHandler.ExecuteAction(String ribbonId)
在 PowerPointLabs.ActionFramework.Common.Interface.ActionHandler.Execute(String ribbonId)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant