Class PdfAConversionProgressEventArgs
Shows the PDF/A conversion progress of the PDF document.
Inheritance
System.Object
PdfAConversionProgressEventArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Pdf.Parsing
Assembly: Syncfusion.Pdf.Base.dll
Syntax
public class PdfAConversionProgressEventArgs
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.
Declaration
public float ProgressValue { get; }
Property Value
Type |
---|
System.Single |
Remarks
Progress constantly increases from 0 to 100. If the value reaches 100 means, that PDF/A conversion process completed for the entire document.