TxtLoadOptions
Leave feedback
On this page
Options for loading Txt documents.
public sealed class TxtLoadOptions : LoadOptions, IPageMarginOptions, IPageSizeOptions
| Name | Description |
|---|---|
| TxtLoadOptions() | Initializes new instance of TxtLoadOptions class. |
| 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. |
| MarginSettings { get; set; } | Page margin settings |
| SizeSettings { get; set; } | Page size settings |
| TrailingSpacesOptions { get; set; } | Gets or sets preferred option of a trailing space handling. Default value is Trim. |
| 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. |
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.
- class LoadOptions
- interface IPageMarginOptions
- interface IPageSizeOptions
- namespace GroupDocs.Conversion.Options.Load
- assembly GroupDocs.Conversion
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.