Table of Contents

Property Protection

Namespace
DocWright.Dom
Assembly
DocWright.Dom.dll

Protection

Gets or sets the document's protection settings (w:documentProtection and w:writeProtection). Never null; a document that recorded neither has a DocumentProtection whose HasDocumentProtection and HasWriteProtection are both false, and nothing is written for it.

These settings are modelled and round-tripped, never enforced. See DocumentProtection.

public DocumentProtection Protection { get; set; }

Property Value

DocumentProtection