Method Load
- Namespace
- DocWright
- Assembly
- DocWright.dll
Load(Stream, FormatDetection, ConvertOptions?)
Loads a supported document stream into the mutable DOM so callers can traverse and inspect content before conversion.
public WordDocument Load(Stream input, FormatDetection formatDetection = FormatDetection.Auto, ConvertOptions? options = null)
Parameters
inputStreamThe readable source stream.
formatDetectionFormatDetectionHow to choose the input format reader.
optionsConvertOptionsOptional conversion options controlling strict mode, limits, and diagnostics.
Returns
- WordDocument
The loaded mutable document model.