Delegate PdfLoadedDocument.PdfAConversionProgressEventHandler
Delegate for handling PDF/A conversion progress.
Assembly: Syncfusion.Pdf.Base.dll
Syntax
public delegate void PdfAConversionProgressEventHandler(object sender, PdfAConversionProgressEventArgs arguments);
Parameters
Examples
PdfLoadedDocument document = new PdfLoadedDocument("input.pdf");
//Set the conformance level.
loadedDocument.Conformance = PdfConformanceLevel.Pdf_A1B;
document.PdfAConversionProgress += pdfAConversion_TrackProgress;
//Save the document
document.Save("output.pdf");
document.Close(true);
// Event handler for Track redaction process
void pdfAConversion_TrackProgress(object sender, PdfAConversionProgressEventArgs arguments)
{
MessageBox.Show(String.Format("Pdf/A conversion Process " + arguments.Progress + " % completed");
}
Dim document As PdfLoadedDocument = New PdfLoadedDocument("input.pdf")
'Set the conformance level.
loadedDocument.Conformance = PdfConformanceLevel.Pdf_A1B
document.PdfAConversionProgress += pdfAConversion_TrackProgress
'Save the document
document.Save("output.pdf")
document.Close(True)
'Event handler for Track redaction process
Private Sub pdfAConversion_TrackProgress(ByVal sender As Object, ByVal arguments As PdfAConversionProgressEventArgs)
MessageBox.Show(String.Format("Pdf/A conversion Process " + arguments.Progress + " % completed"))
End Sub
Constructors
PdfAConversionProgressEventHandler(Object, IntPtr)
Declaration
public PdfAConversionProgressEventHandler(object object, IntPtr method)
Parameters
Type |
Name |
Description |
System.Object |
object |
|
System.IntPtr |
method |
|
Methods
BeginInvoke(Object, PdfAConversionProgressEventArgs, AsyncCallback, Object)
Declaration
public virtual IAsyncResult BeginInvoke(object sender, PdfAConversionProgressEventArgs arguments, AsyncCallback callback, object object)
Parameters
Returns
Type |
Description |
System.IAsyncResult |
|
EndInvoke(IAsyncResult)
Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
Type |
Name |
Description |
System.IAsyncResult |
result |
|
Invoke(Object, PdfAConversionProgressEventArgs)
Declaration
public virtual void Invoke(object sender, PdfAConversionProgressEventArgs arguments)
Parameters