Table of Contents

Property EmitSourceReferences

Namespace
DocWright.Word.Layout
Assembly
DocWright.Word.Layout.dll

EmitSourceReferences

Gets or sets whether each laid-out GlyphRun carries the document text it came from (Source). Default false.

public bool EmitSourceReferences { get; set; }

Property Value

bool

Remarks

The sources come from the resolved document, so resolve it with EmitSourceReferences on as well. A document resolved without it lays out with every source None, the text layout produces included: the two switches are one decision, and half of it gives nothing rather than owners of zero. Turning this on moves no primitive and changes no renderer's bytes: renderers ignore sources.