TxtLoadOptions class
Leave feedback
On this page
Options for loading Txt documents.
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.
The TxtLoadOptions type exposes the following members:
| Constructor | Description |
|---|---|
| init | Initializes a new instance of TxtLoadOptions. |
| Method | Description |
|---|---|
| equals | Determines whether two object instances are equal. (inherited from ValueObject) |
| equals_object | (inherited from ValueObject) |
| equals_value_object | (inherited from ValueObject) |
| get_hash_code | Serves as the default hash function. (inherited from ValueObject) |
| Property | Description |
|---|---|
| default_font | The font to use when rendering plain text content during conversion. Default: Arial 10pt. |
| detect_numbering_with_whitespaces | The property specifies how numbered list items are recognized when a plain text document is converted. The default value is True. |
| encoding | The encoding used when loading a Txt document. Can be None. Default is None. |
| format | The input document file type. |
| leading_spaces_options | The preferred option for handling leading spaces. |
| margin_settings | The margin settings, as defined by IPageMarginOptions. |
| size_settings | The page size options for loading a TXT document. |
| trailing_spaces_options | The preferred option for handling trailing spaces. Default value is TxtTrailingSpacesOptions.trim. |
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.