TxtLoadOptions
Contents
[
Hide
]
TxtLoadOptions class
Options for loading Txt documents.
public sealed class TxtLoadOptions : LoadOptions
Constructors
| Name | Description |
|---|---|
| TxtLoadOptions() | Initializes new instance of TxtLoadOptions class. |
Properties
| Name | Description |
|---|---|
| DefaultFont { get; set; } | Font to use when rendering plain text content during conversion. Since TXT files don’t contain font information, this property specifies the display font for the text content. Default: Arial 10pt. |
| DetectNumberingWithWhitespaces { get; set; } | Allows to specify how numbered list items are recognized when plain text document is converted. The default value is true. |
| Encoding { get; set; } | Gets or sets the encoding that will be used when loading Txt document. Can be null. Default is null. |
| Format { get; } | Input document file type. |
| virtual Format { get; } | Input document file type. |
| LeadingSpacesOptions { get; set; } | Gets or sets preferred option of a leading space handling. Default value is ConvertToIndent. |
| TrailingSpacesOptions { get; set; } | Gets or sets preferred option of a trailing space handling. Default value is Trim. |
Methods
| Name | Description |
|---|---|
| override Equals(object) | Determines whether two object instances are equal. |
| virtual Equals(ValueObject) | Determines whether two object instances are equal. |
| override GetHashCode() | Serves as the default hash function. |
Remarks
Font Configuration for Plain Text:
Since TXT files don’t contain font information, use DefaultTextFont to specify
the font for rendering the plain text content during conversion.
See Also
- class LoadOptions
- namespace GroupDocs.Conversion.Options.Load
- assembly GroupDocs.Conversion