Skip to content

textmode.export.js / TextmodeExportAPI / toString

Method: toString() ​

ts
toString(options?): string;

Produces the selected layer's text content as a string.

Parameters ​

ParameterTypeDescription
options?TXTExportOptionsExport options.

Returns ​

string

The textual representation of the artwork.

Example ​