Table of Contents

Method Clone

Namespace
DocWright.Dom
Assembly
DocWright.Dom.dll

Clone()

Creates a detached deep copy of the whole document, remapping the sections' header/footer references onto the cloned parts. The copy shares the original's PartData package source, so lazy image bytes keep working until the original is disposed.

public WordDocument Clone()

Returns

WordDocument

The copy.