Skip to content

textmode.export.js / TXTExportOptions

Type Alias: TXTExportOptions

ts
type TXTExportOptions = LayerExportOptions & object;

Options for exporting the textmode content to TXT format.

Type Declaration

NameTypeDescription
filename?stringThe filename to save the TXT file as. If not provided, a default filename is used.
preserveTrailingSpaces?booleanWhether to preserve trailing spaces on each line. When false, trailing spaces are trimmed from each line. Defaults to false.
emptyCharacter?stringCharacter to use for empty cells (when no character is rendered in it). Defaults to space ' '.