textmode.export.js / TXTExportOptions
Type Alias: TXTExportOptions
ts
type TXTExportOptions = LayerExportOptions & object;Options for exporting the textmode content to TXT format.
Type Declaration
| Name | Type | Description |
|---|---|---|
filename? | string | The filename to save the TXT file as. If not provided, a default filename is used. |
preserveTrailingSpaces? | boolean | Whether to preserve trailing spaces on each line. When false, trailing spaces are trimmed from each line. Defaults to false. |
emptyCharacter? | string | Character to use for empty cells (when no character is rendered in it). Defaults to space ' '. |