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