Table of Contents

Class DocxMailMergeBlockResult

Namespace
DocToolkit
Assembly
DocToolkit.Docx.dll

A merged document, together with what happened to its conditional blocks or repeating regions.

public sealed class DocxMailMergeBlockResult
Inheritance
DocxMailMergeBlockResult
Inherited Members

Remarks

Returned by the lenient overloads only — MergeConditional(byte[], IReadOnlyDictionary<string, bool>) and its repeating-block siblings refuse to produce a document when a name goes unsupplied, so they have nothing to report.

Properties

Document

The merged document — complete or not. When IsComplete is false, every name the template asked for and the caller did not supply received a neutral default rather than being left unresolved.

public byte[] Document { get; }

Property Value

byte[]

Report

What happened to every condition or region name.

public DocxMailMergeBlockReport Report { get; }

Property Value

DocxMailMergeBlockReport