void OnConversionProgress (
string Description, int SlideIndex )
Description
This event triggered for
main processes during a presentation conversion.
Parameters
Description
Description of current
conversion process.
SlideIndex
Currently converting slide
index.
Example
C#
private void
btnConvert_Click(object sender, EventArgs e)
{
PFPConverter presConverter = new
PFPConverter();
///track conversion events
presConverter.OnConversionProgress += new
OnConversionProgressEvent_Delegate(OnConversionProgress);
}
void
OnConversionProgress(string sMessage, int iCurrentSlide)
{
}
VB
Dim WithEvents
presConverter As PFPConverter
Private Sub
btnConvert_Click()
Set presConverter = New
PFPConverter
presConverter.OpenPresentation
"c:\test.ppt"
presConverter.Convert
"c:\test.swf"
presConverter.ClosePresentation
End Sub
Private Sub
presConverter_OnConversionProgress(ByVal sMessage As String, ByVal
iCurrentSlide As Long)
End Sub
Related Topics