Class BarcodeGeneratorDisplayTextBuilder
Inheritance
System.Object
BarcodeGeneratorDisplayTextBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class BarcodeGeneratorDisplayTextBuilder : ControlBuilder
Constructors
BarcodeGeneratorDisplayTextBuilder()
Declaration
public BarcodeGeneratorDisplayTextBuilder()
BarcodeGeneratorDisplayTextBuilder(BarcodeGeneratorDisplayText)
Declaration
public BarcodeGeneratorDisplayTextBuilder(BarcodeGeneratorDisplayText model)
Parameters
Methods
Alignment(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 BarcodeGeneratorDisplayTextBuilder Alignment(Alignment value)
Parameters
Returns
Font(String)
Defines the font style of the text
Declaration
public BarcodeGeneratorDisplayTextBuilder Font(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Margin(BarcodeGeneratorMargin)
Sets the space to be left between the text and its barcode.
Declaration
public BarcodeGeneratorDisplayTextBuilder Margin(BarcodeGeneratorMargin value)
Parameters
Returns
Margin(Action<BarcodeGeneratorMarginBuilder>)
Declaration
public BarcodeGeneratorDisplayTextBuilder Margin(Action<BarcodeGeneratorMarginBuilder> margin)
Parameters
Returns
Position(TextPosition)
Defines the position of the text.
Bottom - Position the text at the Bottom
Top - Position the text at the Top
Declaration
public BarcodeGeneratorDisplayTextBuilder Position(TextPosition value)
Parameters
Returns
Size(Double)
Defines the size of the text.
Declaration
public BarcodeGeneratorDisplayTextBuilder Size(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
Returns
Text(String)
Sets the textual description of the barcode.
Declaration
public BarcodeGeneratorDisplayTextBuilder Text(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Visibility(Boolean)
Defines the visibility of the text.
Declaration
public BarcodeGeneratorDisplayTextBuilder Visibility(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
Returns