Attributes Class |
Namespace: Resto.Front.Api.Data.Cheques
public static class Attributes
The Attributes type exposes the following members.
Name | Description | |
---|---|---|
Align |
Horizontal alignment of the content.
| |
AutoWidth |
Column width will be adjusted by the content.
| |
Bell |
Turns on the a kitchen bell or opens cash drawer before printing a document. Works only for printers.
| |
Bold | ||
CellSpacing |
Width of the space between table columns (in chars).
Default is 1.
| |
ColumnSpan |
Stretches the cell into specified number of columns.
Default is 1.
| |
Correction | ||
Fit | ||
Font |
Specifies the font size for the table row (should be set for the first cell of the row, will be ignored for the subsequent cells).
Inner elements inherit this setting.
| |
Formatter |
Text wrapping mode.
| |
HeightRatio |
Barcode Height-to-Width Ratio
Defines the ratio of the barcode's height to its width. This attribute value is used to calculate the height of the barcode based on its width and the specified height-to-width ratio.
Supported Values: Positive floating-point number using a period (.) as the decimal separator.
Default Value: Varies depending on the model. Typically between 0.3 and 0.35.
| |
Hri | ||
Italic | ||
Left |
Specifies the left part of the Pair element.
| |
MaxWidth |
Maximum column width (in chars).
Default is unspecified.
| |
MinWidth |
Minimum column width (in chars).
Default is 1.
| |
ResizeMode | ||
Reverse | ||
Right |
Specifies the right part of the Pair element.
| |
Size |
Defines the size of QR code.
Supported values:
| |
Symbols |
Sets a new character (or character set) used to fill in the white space.
| |
Underline | ||
VerticalAlign |
Vertical alignment of the content.
| |
Width |
Fixed column width (in chars).
Default is unspecified.
Cannot be used with AutoWidth.
|