Hello,
Could you please tell me how can I use my callback funktion to see if Aspose printing or converting process is still alive? This is really actula request if source document contains 100+ pages.
My code snippet is:
Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click
Dim sFile = "C:\In\1032034.docx"
Dim sPrinter = "Canon iR C3000 Series UFR II"
Try
Dim myDoc As New Aspose.Words.Document(sFile)
' define callback for converting file here
myDoc.Save("D:\out\1032034.pdf", Words.SaveFormat.Pdf)
Dim ps As New System.Drawing.Printing.PrinterSettings() With {.PrinterName = sPrinter}
' define callback for printing pages here
myDoc.Print(ps, GetFileNameExt(sFile))
Catch ex As Exception
End Try
End Sub