Symbology1DBase
Provides a base class for 1D barcode symbology implementations.
Definition
Namespace:Telerik.Maui.Controls.Barcode
Assembly:Telerik.Maui.Controls.dll
Syntax:
public abstract class Symbology1DBase : SymbologyBase
Inheritance: objectSymbologyBaseSymbology1DBase
Derived Classes:
Inherited Members
Constructors
protected Symbology1DBase()
Fields
CodeTextSpacingProperty
BindableProperty
Identifies the CodeTextSpacing property.
public static readonly BindableProperty CodeTextSpacingProperty
FontFamilyProperty
BindableProperty
Identifies the FontFamily property.
public static readonly BindableProperty FontFamilyProperty
FontSizeProperty
BindableProperty
Identifies the FontSize property.
public static readonly BindableProperty FontSizeProperty
HorizontalTextAlignmentProperty
BindableProperty
Identifies the HorizontalTextAlignment property.
public static readonly BindableProperty HorizontalTextAlignmentProperty
ShowTextProperty
BindableProperty
Identifies the ShowText property.
public static readonly BindableProperty ShowTextProperty
VerticalTextAlignmentProperty
BindableProperty
Identifies the VerticalTextAlignment property.
public static readonly BindableProperty VerticalTextAlignmentProperty
Properties
Gets or sets the spacing around the text.
public double CodeTextSpacing { get; set; }
The spacing value in device-independent units.
Gets or sets the font family of the text displayed in the barcode.
public string FontFamily { get; set; }
The font family name.
Gets or sets the font size of the text displayed in the barcode.
public double FontSize { get; set; }
The font size in device-independent units.
HorizontalTextAlignment
TextAlignment
Gets or sets the horizontal alignment of the text displayed in the barcode.
public TextAlignment HorizontalTextAlignment { get; set; }
The TextAlignment for horizontal text positioning.
Gets or sets whether the barcode should display the human readable value of the barcode.
public bool ShowText { get; set; }
true if the text should be displayed; otherwise, false.
VerticalTextAlignment
TextAlignment
Gets or sets the vertical alignment of the text displayed in the barcode.
public TextAlignment VerticalTextAlignment { get; set; }
The TextAlignment for vertical text positioning.
Methods
Called when a property of the internal symbology changes.
protected override void OnInternalSymbologyPropertyChanged(string propertyName)
The name of the property that changed.
Overrides:
Called when a property of the 1D symbology changes.
protected override void OnSymbologyPropertyChanged(string propertyName)
The name of the property that changed.
Overrides: