Class CaptionParameters
Caption parameters for text displayed above or below the barcode.
Inherited Members
Namespace: DRIT.Barcode.Generation
Assembly: DRIT.Barcode.dll
Syntax
public class CaptionParameters
Properties
Alignment
Gets or sets the text alignment.
Declaration
public TextAlignment Alignment { get; set; }
Property Value
| Type | Description |
|---|---|
| TextAlignment |
Color
Gets or sets the caption text color.
Declaration
public Color Color { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
Font
Gets the caption font.
Declaration
public FontUnit Font { get; }
Property Value
| Type | Description |
|---|---|
| FontUnit |
NoWrap
Gets or sets a value indicating whether the caption text should not wrap.
Declaration
public bool NoWrap { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Padding
Gets the padding around the caption text.
Declaration
public Padding Padding { get; }
Property Value
| Type | Description |
|---|---|
| Padding |
Text
Gets or sets the caption text.
Declaration
public string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Visible
Gets or sets a value indicating whether the caption is visible.
Declaration
public bool Visible { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |