Class CodeTextParameters
Code text parameters for the human-readable text displayed with the barcode.
Inherited Members
Namespace: DRIT.Barcode.Generation
Assembly: DRIT.Barcode.dll
Syntax
public class CodeTextParameters
Properties
Alignment
Gets or sets the text alignment.
Declaration
public TextAlignment Alignment { get; set; }
Property Value
| Type | Description |
|---|---|
| TextAlignment |
Color
Gets or sets the code text color.
Declaration
public Color Color { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
Font
Gets the code text font.
Declaration
public FontUnit Font { get; }
Property Value
| Type | Description |
|---|---|
| FontUnit |
FontMode
Gets or sets the font mode (auto or manual sizing).
Declaration
public FontMode FontMode { get; set; }
Property Value
| Type | Description |
|---|---|
| FontMode |
Location
Gets or sets the location of the code text relative to the barcode.
Declaration
public CodeLocation Location { get; set; }
Property Value
| Type | Description |
|---|---|
| CodeLocation |
NoWrap
Gets or sets a value indicating whether the code text should not wrap.
Declaration
public bool NoWrap { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Space
Gets or sets the space between the barcode and the code text in pixels.
Declaration
public float Space { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
TwoDDisplayText
Gets or sets a value indicating whether to display code text for 2D barcodes.
Declaration
public bool TwoDDisplayText { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Visible
Gets or sets a value indicating whether the code text is visible.
Declaration
public bool Visible { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |