PresentationOpened Property

Description

The PresentationOpened property indicates if the presentation has been opened and is accessible via Presentation property of the PresentationConverter object.

Type

Boolean (read only)

Example

The following examples illustrate how to checks if the presentation was opened.

VB Sample

Sub iSpringSample()
    Dim pc As New iSpring.PresentationConverter

    pc.OpenPresentation "c:\test.ppt"

    If pc.PresentationOpened Then
        pc.GenerateSolidPresentation "c:\test.swf"
    End If
End Sub

C# Sample

using System;
using ISpring;

class iSpringSample
{
    static void Main(string[] args)
    {
        PresentationConverter pc = new PresentationConverter();

        pc.OpenPresentation("c:\\test.ppt");

        if (pc.PresentationOpened)
        {
            pc.GenerateSolidPresentation("c:\\test.swf", "", null);
        }
    }
}