PdfEditorSaveAsync Method

Asynchronously saves the edited PDF to a memory buffer and releases all resources

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.0.0
C#
public Task<byte[]> SaveAsync(
	CancellationToken ct = default
)

Parameters

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.

Return Value

TaskByte
Byte array containing the edited PDF data

See Also