Interface: AddTextStyleParams
reverse (optional)
reverse?: number
Enables or disables the reverse style.
| Value | Description |
|---|---|
PrinterConstants.TRUE | Enables the reverse style. |
PrinterConstants.FALSE | Disables the reverse style. |
PrinterConstants.PARAM_UNSPECIFIED | |
PrinterConstants.PARAM_DEFAULT | Specifies the default value (reverse style disabled). |
ul (optional)
ul?: number
Enables or disables the underscore style.
| Value | Description |
|---|---|
PrinterConstants.TRUE | Enables the underscore style. |
PrinterConstants.FALSE | Disables the underscore style. |
PrinterConstants.PARAM_UNSPECIFIED | |
PrinterConstants.PARAM_DEFAULT | Specifies the default value (underscore style disabled). |
em (optional)
em?: number
Enables or disables the bold style.
| Value | Description |
|---|---|
PrinterConstants.TRUE | Enables the bold style.. |
PrinterConstants.FALSE | Disables the bold style. |
PrinterConstants.PARAM_UNSPECIFIED | |
PrinterConstants.PARAM_DEFAULT | Specifies the default value (the bold style disabled). |
color (optional)
color?: number
Specifies the color.
| Value | Description |
|---|---|
PrinterConstants.COLOR_NONE | No printing |
PrinterConstants.COLOR_1 | First color |
PrinterConstants.COLOR_2 | Second color |
PrinterConstants.COLOR_3 | Third color |
PrinterConstants.COLOR_4 | Fourth color |
PrinterConstants.PARAM_UNSPECIFIED | |
PrinterConstants.PARAM_DEFAULT | Specifies the default value (first color). |