Table of Contents

Class PlainTextReadOptions

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

Format-specific settings for PlainTextReader.

public sealed class PlainTextReadOptions
Inheritance
PlainTextReadOptions
Inherited Members

Constructors

PlainTextReadOptions()

Properties

Encoding

Gets or sets the encoding to decode with. Null (the default) detects it: a byte-order mark first, then UTF-8 if the bytes are valid UTF-8, then the documented fallback.

FormFeedIsPageBreak

Gets or sets a value indicating whether a form feed (U+000C) becomes a page break. True by default, because that is what the character has meant in a text file since the line printer and it is what GetText writes when exporting one.

ParagraphMode

Gets or sets how lines become paragraphs. Defaults to LinePerParagraph.

UseMonospaceFont

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