BarcodeEncodingRequest Class
Contains the data required to encode a barcode.
public class BarcodeEncodingRequest
- Inheritance:
- object object
Constructors
BarcodeEncodingRequest(string)
Contains the data required to encode a barcode.
public BarcodeEncodingRequest(string value)
| Parameter | Type | Description |
|---|---|---|
| value | string | The value to encode. |
Properties
Background
The background brush.
public IBrush Background { get; set; }
Property Value
- IBrush:
The default value is Avalonia.Media.Brushes.White.
Foreground
The foreground brush.
public IBrush Foreground { get; set; }
Property Value
- IBrush:
The default value is Avalonia.Media.Brushes.Black.
ModuleShapeKind
The shape to use for rendering barcode modules.
public BarcodeShapeKind ModuleShapeKind { get; set; }
Property Value
- BarcodeShapeKind:
The default value is Default.
PrimaryAccent
The primary accent brush used for customization, such as the outer border of finder patterns in QR Codes.
public IBrush? PrimaryAccent { get; set; }
Property Value
- IBrush
Remarks
When not specified, the Foreground brush is used as a fallback.
SecondaryAccent
The secondary accent brush used for customization, such as the inner square of finder patterns in QR Codes.
public IBrush? SecondaryAccent { get; set; }
Property Value
- IBrush
Remarks
When not specified, the Foreground brush is used as a fallback.
SupplementValue
The supplement value to encode for symbologies that support add-on supplements.
Value
The value to encode.
ValueFontFamily
The font family to use for rendering the Value.
public FontFamily? ValueFontFamily { get; set; }
Property Value
- FontFamily
ValueFontSize
The font size to use for rendering the Value.
ValueForeground
The foreground brush for rendering the Value.
public IBrush? ValueForeground { get; set; }
Property Value
- IBrush:
The default value is Avalonia.Media.Brushes.Black.
Remarks
If the value is null, the Foreground property value is used as a fallback.
Inherited Members
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()