Table of Contents

Method UpdateLabels

Namespace
DocWright.Dom.Editing
Assembly
DocWright.Dom.dll

UpdateLabels(WordDocument)

Word's Update Labels: every label of the document's first table that starts with a NEXT field takes a copy of the first label's content after that field. One undoable edit.

public static DocumentEdit UpdateLabels(this WordDocument document)

Parameters

document WordDocument

The merge sheet.

Returns

DocumentEdit

The edit.

Exceptions

ArgumentNullException

document is null.

InvalidOperationException

The document has no table, or its first label is not a cell.