Table of Contents

Method StartsWithEnvelope

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

StartsWithEnvelope(WordDocument)

Whether the document starts with an envelope Word added: more than one section, and the first one's paragraphs all in Envelope Address or Envelope Return (at least one address), the last one possibly empty.

public static bool StartsWithEnvelope(this WordDocument document)

Parameters

document WordDocument

The document.

Returns

bool

True when Add to Document would replace the first section (Word's Change Document).

Exceptions

ArgumentNullException

document is null.