Method GetFieldsAsync
GetFieldsAsync(string, CancellationToken)
Asynchronously reads the form fields of the PDF at
inputPath.
public static Task<PdfFormSnapshot> GetFieldsAsync(string inputPath, CancellationToken cancellationToken = default)
Parameters
inputPathstringcancellationTokenCancellationToken
Returns
GetFieldsAsync(byte[], CancellationToken)
Asynchronously reads the form fields of in-memory PDF bytes.
public static Task<PdfFormSnapshot> GetFieldsAsync(byte[] pdfData, CancellationToken cancellationToken = default)
Parameters
pdfDatabyte[]cancellationTokenCancellationToken
Returns
GetFieldsAsync(Attachment, CancellationToken)
Asynchronously reads the form fields of the PDF carried by
attachment.
public static Task<PdfFormSnapshot> GetFieldsAsync(Attachment attachment, CancellationToken cancellationToken = default)
Parameters
attachmentAttachmentcancellationTokenCancellationToken