Class QRCodeGeneratorDisplayTextBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
QRCodeGeneratorDisplayTextBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.BarcodeGenerator
Assembly: Syncfusion.AspNetMvc.BarcodeGenerator.dll
Syntax
public class QRCodeGeneratorDisplayTextBuilder : ControlBuilder
Constructors
QRCodeGeneratorDisplayTextBuilder()
Declaration
public QRCodeGeneratorDisplayTextBuilder()
QRCodeGeneratorDisplayTextBuilder(QRCodeGeneratorDisplayText)
Declaration
public QRCodeGeneratorDisplayTextBuilder(QRCodeGeneratorDisplayText model)
Parameters
| Type | Name | Description |
|---|---|---|
| QRCodeGeneratorDisplayText | 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 QRCodeGeneratorDisplayTextBuilder Alignment(Alignment value)
Parameters
| Type | Name | Description |
|---|---|---|
| Alignment | value |
Returns
| Type |
|---|
| QRCodeGeneratorDisplayTextBuilder |
Font(String)
Defines the font style of the text
Declaration
public QRCodeGeneratorDisplayTextBuilder Font(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value |
Returns
| Type |
|---|
| QRCodeGeneratorDisplayTextBuilder |
Margin(QRCodeGeneratorDisplayTextMargin)
Sets the space to be left between the text and its barcode.
Declaration
public QRCodeGeneratorDisplayTextBuilder Margin(QRCodeGeneratorDisplayTextMargin value)
Parameters
| Type | Name | Description |
|---|---|---|
| QRCodeGeneratorDisplayTextMargin | value |
Returns
| Type |
|---|
| QRCodeGeneratorDisplayTextBuilder |
Margin(Action<QRCodeGeneratorMarginBuilder>)
Declaration
public QRCodeGeneratorDisplayTextBuilder Margin(Action<QRCodeGeneratorMarginBuilder> margin)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<QRCodeGeneratorMarginBuilder> | margin |
Returns
| Type |
|---|
| QRCodeGeneratorDisplayTextBuilder |
Position(TextPosition)
Defines the position of the text. Bottom - Position the text at the Bottom Top - Position the text at the Top
Declaration
public QRCodeGeneratorDisplayTextBuilder Position(TextPosition value)
Parameters
| Type | Name | Description |
|---|---|---|
| TextPosition | value |
Returns
| Type |
|---|
| QRCodeGeneratorDisplayTextBuilder |
Size(Double)
Defines the size of the text.
Declaration
public QRCodeGeneratorDisplayTextBuilder Size(double value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | value |
Returns
| Type |
|---|
| QRCodeGeneratorDisplayTextBuilder |
Text(String)
Sets the textual description of the barcode.
Declaration
public QRCodeGeneratorDisplayTextBuilder Text(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value |
Returns
| Type |
|---|
| QRCodeGeneratorDisplayTextBuilder |
Visibility(Boolean)
Defines the visibility of the text.
Declaration
public QRCodeGeneratorDisplayTextBuilder Visibility(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | value |
Returns
| Type |
|---|
| QRCodeGeneratorDisplayTextBuilder |