Class
Symbology1DBase

Provides a base class for 1D barcode symbology implementations.

Definition

Constructors

Symbology1DBase()

Declaration

cs-api-definition
protected Symbology1DBase()

Fields

CodeTextSpacingProperty

Identifies the CodeTextSpacing property.

Declaration

cs-api-definition
public static readonly BindableProperty CodeTextSpacingProperty

Field Value

BindableProperty

FontFamilyProperty

Identifies the FontFamily property.

Declaration

cs-api-definition
public static readonly BindableProperty FontFamilyProperty

Field Value

BindableProperty

FontSizeProperty

Identifies the FontSize property.

Declaration

cs-api-definition
public static readonly BindableProperty FontSizeProperty

Field Value

BindableProperty

HorizontalTextAlignmentProperty

Identifies the HorizontalTextAlignment property.

Declaration

cs-api-definition
public static readonly BindableProperty HorizontalTextAlignmentProperty

Field Value

BindableProperty

ShowTextProperty

Identifies the ShowText property.

Declaration

cs-api-definition
public static readonly BindableProperty ShowTextProperty

Field Value

BindableProperty

VerticalTextAlignmentProperty

Identifies the VerticalTextAlignment property.

Declaration

cs-api-definition
public static readonly BindableProperty VerticalTextAlignmentProperty

Field Value

BindableProperty

Properties

CodeTextSpacing

Gets or sets the spacing around the text.

Declaration

cs-api-definition
public double CodeTextSpacing { get; set; }

Property Value

double

The spacing value in device-independent units.

FontFamily

Gets or sets the font family of the text displayed in the barcode.

Declaration

cs-api-definition
public string FontFamily { get; set; }

Property Value

string

The font family name.

FontSize

Gets or sets the font size of the text displayed in the barcode.

Declaration

cs-api-definition
public double FontSize { get; set; }

Property Value

double

The font size in device-independent units.

HorizontalTextAlignment

Gets or sets the horizontal alignment of the text displayed in the barcode.

Declaration

cs-api-definition
public TextAlignment HorizontalTextAlignment { get; set; }

Property Value

TextAlignment

The TextAlignment for horizontal text positioning.

ShowText

Gets or sets whether the barcode should display the human readable value of the barcode.

Declaration

cs-api-definition
public bool ShowText { get; set; }

Property Value

bool

true if the text should be displayed; otherwise, false.

VerticalTextAlignment

Gets or sets the vertical alignment of the text displayed in the barcode.

Declaration

cs-api-definition
public TextAlignment VerticalTextAlignment { get; set; }

Property Value

TextAlignment

The TextAlignment for vertical text positioning.

Methods

OnInternalSymbologyPropertyChanged(string)

Called when a property of the internal symbology changes.

Declaration

cs-api-definition
protected override void OnInternalSymbologyPropertyChanged(string propertyName)

Parameters

propertyName

string

The name of the property that changed.

Overrides SymbologyBase.OnInternalSymbologyPropertyChanged(string)

OnSymbologyPropertyChanged(string)

Called when a property of the 1D symbology changes.

Declaration

cs-api-definition
protected override void OnSymbologyPropertyChanged(string propertyName)

Parameters

propertyName

string

The name of the property that changed.

Overrides SymbologyBase.OnSymbologyPropertyChanged(string)