Defines the fluent API for configuring BarcodeTextSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class BarcodeTextSettingsBuilder
Inheritance: objectBarcodeTextSettingsBuilder
Inherited Members
Constructors
BarcodeTextSettingsBuilder method.
public BarcodeTextSettingsBuilder(BarcodeTextSettings container)
Properties
Gets the settings being configured.
protected BarcodeTextSettings Container { get; }
Methods
The color of the text. Any valid CSS color string will work here, including hex and rgb.
public BarcodeTextSettingsBuilder Color(string value)
The value for Color
Returns:Returns the current BarcodeTextSettingsBuilder instance.
The font of the text.
public BarcodeTextSettingsBuilder Font(string value)
The value for Font
Returns:Returns the current BarcodeTextSettingsBuilder instance.
The margin of the text
public BarcodeTextSettingsBuilder Margin(Action<BarcodeTextMarginSettingsBuilder> configurator)
The BarcodeTextMarginSettingsBuilder for the margin setting.
Returns:Returns the current instance of BarcodeTextSettingsBuilder .
Defines the margin of the text.
public BarcodeTextSettingsBuilder Margin(double margin)
The configurator for the margin setting.
Returns:Returns the current BarcodeTextSettingsBuilder instance.
If set to false the barcode will not display the value as a text below the barcode lines.
public BarcodeTextSettingsBuilder Visible(bool value)
The value for Visible
Returns:Returns the current BarcodeTextSettingsBuilder instance.