Table of Contents

Property FormatSettings

Namespace
DocWright
Assembly
DocWright.dll

FormatSettings

Gets the format-specific settings, keyed by a namespaced string. Empty by default.

public IDictionary<string, string> FormatSettings { get; }

Property Value

IDictionary<string, string>

Remarks

Copied verbatim onto FormatSettings when Save(WordDocument, Stream, string, SaveOptions?) routes to a writer, so a caller who only has an extension can still reach a setting only one format understands. See that property for the key convention and for why an unknown key is a diagnostic rather than an error.

Example: options.FormatSettings["rdl:schemaVersion"] = "2010".