VegaRise.NET
HomeAPI Reference
Back to VDocs

OpenFromWordAsyncMethod

Definition

Namespace
DOM
Assembly
VDocs.dll

Asynchronously opens an existing Word document from a stream.

OpenFromWordAsync(Stream input, CancellationToken cancellationToken)

Parameters

input
A readable stream containing a .docx package. The stream is not closed or disposed.
cancellationToken
A token to cancel the read.

Remarks

The input is read asynchronously into a buffer; parsing is CPU-bound and runs synchronously.