VegaRise.NET
HomeAPI Reference
Back to VDocs

SaveAsPdfAsyncMethod

Definition

Namespace
DOM
Assembly
VDocs.dll

Asynchronously saves the document to a stream. Rendering is synchronous (CPU-bound) into a buffer; only the write to is asynchronous. The stream is left open. output

SaveAsPdfAsync(Stream output, CancellationToken cancellationToken)

Parameters

output
A writable stream.
cancellationToken
A token to cancel the write.