TxtLoadOptions class

TxtLoadOptions class

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:

Constructors

Constructor Description
init Initializes a new instance of TxtLoadOptions.

Methods

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)

Properties

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.

See Also