Table of Contents

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

input Stream

The readable source stream.

formatDetection FormatDetection

How to choose the input format reader.

options ConvertOptions

Optional conversion options controlling strict mode, limits, and diagnostics.

Returns

WordDocument

The loaded mutable document model.