menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Delegate PdfLoadedDocument.PdfAConversionProgressEventHandler - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Delegate PdfLoadedDocument.PdfAConversionProgressEventHandler

    Delegate for handling PDF/A conversion progress.

    Namespace: Syncfusion.Pdf.Parsing
    Assembly: Syncfusion.Pdf.Base.dll
    Syntax
    public delegate void PdfAConversionProgressEventHandler(object sender, PdfAConversionProgressEventArgs arguments);
    Parameters
    Type Name Description
    System.Object sender
    PdfAConversionProgressEventArgs arguments
    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
    Type Name Description
    System.Object sender
    PdfAConversionProgressEventArgs arguments
    System.AsyncCallback callback
    System.Object object
    Returns
    Type
    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
    Type Name Description
    System.Object sender
    PdfAConversionProgressEventArgs arguments
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved