BarcodeTextSettingsBuilder
Methods
Margin(System.Double)
Defines the margin of the text.
Parameters
margin - System.Double
The configurator for the margin setting.
Example
@(Html.Kendo().Barcode()
.Name("barcode")
.Value("1234567")
.Text(text => text.Margin(10))
.Encoding(BarcodeSymbology.EAN8)
)
Color(System.String)
The color of the text. Any valid CSS color string will work here, including hex and rgb.
Parameters
value - System.String
The value for Color
Font(System.String)
The font of the text.
Parameters
value - System.String
The value for Font
Margin(System.Action)
The margin of the text
Parameters
configurator - System.Action<BarcodeTextMarginSettingsBuilder>
The configurator for the margin setting.
Visible(System.Boolean)
If set to false the barcode will not display the value as a text below the barcode lines.
Parameters
value - System.Boolean
The value for Visible