Table of Contents

Property CodePage

Namespace
DocWright.Formats.Rtf
Assembly
DocWright.Formats.Rtf.dll

CodePage

Gets or sets the code page declared as \ansicpg. Content outside it is written as \u escapes rather than as raw bytes, so this setting affects the file's size and its readability to old readers, never which characters survive.

public int CodePage { get; set; }

Property Value

int

Exceptions

ArgumentOutOfRangeException

The value is not positive.