question

AdrianMoisii-9060 avatar image
0 Votes"
AdrianMoisii-9060 asked emizhang-msft edited

WebView2 OLE class name

Hi there,

I was wondering if it's possible to use WebView2 in a VSTO PowerPoint add-in, by adding it on a slide using Shapes.AddOLEObject Interop function. Shapes.AddOLEObject requires the ClassName of the inserted object and can't figure out if Webview2 expose this by default.
I managed to add it to a WPF form, shown during PowerPoint slideshow. Now I need to add the WebView2 browser directly into a slide.
Creating an ActiveX control in C# .NET (a user control with a WebView2 object on it) and exposing that to PowerPoint would work?

The planned development environment is C# .NET framework 4.7.2 and latest PowerPoint version.

office-vsto-com-dev
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers