Class RtfLoadOptions
Options used when loading an RTF file.
Inherited Members
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public sealed class RtfLoadOptions : DocumentLoadOptions
Constructors
RtfLoadOptions()
Initializes a new instance of the RtfLoadOptions class.
Declaration
public RtfLoadOptions()
Properties
Encoding
Gets or sets the encoding used when reading RTF text.
Declaration
public Encoding Encoding { get; set; }
Property Value
| Type | Description |
|---|---|
| Encoding |
FallbackEncoding
Gets or sets the fallback encoding used when an RTF code page cannot be resolved.
Declaration
public Encoding FallbackEncoding { get; set; }
Property Value
| Type | Description |
|---|---|
| Encoding |
MaxBinaryBytes
Gets or sets the maximum binary payload size accepted by the RTF parser.
Declaration
public int MaxBinaryBytes { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
MaxControlWordLength
Gets or sets the maximum control word length.
Declaration
public int MaxControlWordLength { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
MaxInputBytes
Gets or sets the maximum number of input bytes accepted by the RTF parser.
Declaration
public int MaxInputBytes { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
MaxNestingDepth
Gets or sets the maximum RTF group nesting depth.
Declaration
public int MaxNestingDepth { get; set; }
Property Value
| Type | Description |
|---|---|
| int |