Description
The PresentationOpened property indicates if the presentation has been opened and is accessible via the Presentation property of the IPresentationConverter object.
Type
Boolean (read only)
Example
The following examples illustrate how to check if the presentation was opened.
Sub iSpringSample()
Dim pc As New iSpring.PresentationConverter
pc.OpenPresentation "c:\test.pptx"
If pc.PresentationOpened Then
pc.GenerateHtml5Presentation"c:\test.html"
End If
End Sub
CODE
C# Sample
using System;
using iSpring;
class iSpringSample
{
static void Main(string[] args)
{
PresentationConverter pc = new PresentationConverter();
pc.OpenPresentation("c:\\test.pptx");
if (pc.PresentationOpened)
{
pc.GenerateHtml5Presentation("c:\\test.html", PresentationType.PT_SOLID, "", null);
}
}
}
CODE