PdfDocumentSaveAsync Method
Asynchronously finalizes and returns the PDF document as a byte array
Namespace: HiQPdf.NextAssembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.0.0
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