Class PdfAConversionProgressEventArgs
- Namespace
- Syncfusion.Pdf.Parsing
- Assembly
- Syncfusion.Pdf.Portable.dll
Shows the PDF/A conversion progress of the PDF document.
public class PdfAConversionProgressEventArgs
- Inheritance
-
PdfAConversionProgressEventArgs
- Inherited Members
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
Properties
ProgressValue
Gets the PDF/A conversion progress in percentage.
public float ProgressValue { get; }
Property Value
Remarks
Progress constantly increases from 0 to 100. If the value reaches 100 means, that PDF/A conversion process completed for the entire document.