Reputation: 768
As per the documentation by Microsoft, there is a property to check whether the presentation is completely downloaded or not in office VBA Reference.
Presentation.IsFullyDownloaded
https://learn.microsoft.com/en-us/office/vba/api/powerpoint.presentation.isfullydownloaded
Is there any way to do this in a C# VSTO addin?
The 'Presentation' class in vsto solutionhas all the other properties as in the vba presentation class but not "IsFullyDownloaded".
Upvotes: 0
Views: 43
Reputation: 49455
If you can use it in VBA for your PowerPoint installation (that means it is implemented by the host application) you can call it using the late-binding technology available in .Net via Type.InvokeMember from any applications including VSTO add-ins.
Upvotes: 1