PdfDocumentSaveAsync Method
Asynchronously saves the PDF document to a byte array and releases all resources; the document cannot be used afterwards
Namespace: Winnovative.Pdf.NextAssembly: Winnovative.Pdf.Next (in Winnovative.Pdf.Next.dll) Version: 21.0.3
public Task<byte[]> SaveAsync(
CancellationToken ct = default
)
- ct CancellationToken (Optional)
-
A cancellation token that can be used to cancel the asynchronous operation. When cancellation
is requested the task returned by this method will complete by throwing
OperationCanceledException as soon as possible.
TaskByteByte array containing the created PDF data