Class BarcodeGeneratorDisplayText
Inheritance
System.Object
Syncfusion.EJ2.EJTagHelper
BarcodeGeneratorDisplayText
Namespace: Syncfusion.EJ2.BarcodeGenerator
Assembly: Syncfusion.EJ2.dll
Syntax
public class BarcodeGeneratorDisplayText : EJTagHelper
Constructors
BarcodeGeneratorDisplayText()
Declaration
public BarcodeGeneratorDisplayText()
Properties
Alignment
Defines the horizontal alignment of the text. Left - Aligns the text at the left Right - Aligns the text at the Right Center - Aligns the text at the Center
Declaration
public Alignment Alignment { get; set; }
Property Value
Type | Description |
---|---|
Alignment | The default value is Syncfusion.EJ2.BarcodeGenerator.Alignment.Center |
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type |
---|
Syncfusion.EJ2.MvcTemplate<System.Object> |
Font
Defines the font style of the text
Declaration
public string Font { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "monospace" |
Margin
Sets the space to be left between the text and its barcode.
Declaration
public BarcodeGeneratorMargin Margin { get; set; }
Property Value
Type | Description |
---|---|
BarcodeGeneratorMargin | The default value is null |
Position
Defines the position of the text. Bottom - Position the text at the Bottom Top - Position the text at the Top
Declaration
public TextPosition Position { get; set; }
Property Value
Type | Description |
---|---|
TextPosition | The default value is TextPosition.Bottom |
Size
Defines the size of the text.
Declaration
public double Size { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 20 |
Text
Sets the textual description of the barcode.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Visibility
Defines the visibility of the text.
Declaration
public bool Visibility { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |