Method FillAsync
FillAsync(string, PdfFormFillRequest, CancellationToken)
Asynchronously fills the form of the PDF at
inputPath and returns the filled bytes together
with the report.
public static Task<PdfFormFillResult> FillAsync(string inputPath, PdfFormFillRequest request, CancellationToken cancellationToken = default)
Parameters
inputPathstringrequestPdfFormFillRequestcancellationTokenCancellationToken
Returns
FillAsync(byte[], PdfFormFillRequest, CancellationToken)
Asynchronously fills the form of in-memory PDF bytes and returns the filled bytes together with the report.
public static Task<PdfFormFillResult> FillAsync(byte[] pdfData, PdfFormFillRequest request, CancellationToken cancellationToken = default)
Parameters
pdfDatabyte[]requestPdfFormFillRequestcancellationTokenCancellationToken
Returns
FillAsync(Attachment, PdfFormFillRequest, CancellationToken)
Asynchronously fills the form of the PDF carried by
attachment and returns the filled bytes
together with the report.
public static Task<PdfFormFillResult> FillAsync(Attachment attachment, PdfFormFillRequest request, CancellationToken cancellationToken = default)
Parameters
attachmentAttachmentrequestPdfFormFillRequestcancellationTokenCancellationToken