Table of Contents

Property UseMonospaceFont

Namespace
DocWright.Formats.Text
Assembly
DocWright.Formats.Text.dll

UseMonospaceFont

Gets or sets a value indicating whether the imported text is given a monospace font. True by default.

public bool UseMonospaceFont { get; set; }

Property Value

bool

Remarks

Plain text that was laid out with spaces — a table, a diagram, an indented listing — stops being legible in a proportional font, and the file gives no way to tell which text was laid out that way. A monospace font preserves whatever alignment the file had; a caller who knows the text is prose sets this to false.