The PresentationConverterFast Class is a class with the same functionality as PresentationConverter. It converts presentation significantly faster due to the fact it creates an instance of PresentationConverter inside PowerPoint process.

Table 1. Interfaces

InterfaceInterface description
IPresentationConverterPresentationConverterFast implements this interface with all functions of iSpring SDK
_IPresentationConverterEventsThe interface used for subscription to conversion events


Samples

The  PresentationConverterFast object can be created and used in the same way as PresentationConverter object.

LanguageSample code
VB Script
Set fs = CreateObject("iSpring.PresentationConverterFast")
CODE
C#
iSpring.IPresentationConverter pc = new iSpring.PresentationConverterFast();
CODE
Visual Basic .NET
Dim pc as New iSpring.PresentationConverterFast
CODE
Visual Basic
Dim pc as New iSpring.PresentationConverterFast
CODE
C++ (VC++/ATL)
#include <atlbase.h>

// assume that ispring.tlb is located in the same folder
#import "iSpringSDK.tlb"

int main()
{
    // we must initialize COM library before the creation of any COM objects
    CoInitialize(NULL);
    {
        // IPresentationConverter is the default interface of PresentationConverter and PresentationConverterFast objects
        CComPtr<iSpring::IPresentationConverter> pConverter;

        // Create the instance of Presentation converter
        HRESULT hr = pConverter.CoCreateInstance(__uuidof(iSpring::PresentationConverterFast));
        ATLASSERT(SUCCEEDED(hr));

        // CComPtr is a smart pointer. It will automatically call Release() method
        // on pConverter COM object after leaving the scope of this block
    }// <- pConverter object instance will be released here

    // we must uninitialize COM library before exit our application
    CoUninitialize();
    return 0;
}
CODE
PHP
<?php
$pc = new COM("iSpring.PresentationConverterFast")

// access PresentationConverterFast methods and properties
// ...

// it is necessary to set the presentation converter object to null
// when you don't need it anymore. Otherwise a runtime error will occur.
$pc = null;
?>
CODE