Show / Hide Table of Contents

Class BarcodeToken

Token pre tlač čiarového kódu

Inheritance
System.Object
PrintToken
BarcodeToken
Inherited Members
PrintToken.TokenDelimiter
PrintToken.TryGetValue(String, String)
PrintToken.GetValueOrDefault(String)
PrintToken.GetIntValueOrDefault(String)
PrintToken.TryGetEnumValue<TEnum>(String)
PrintToken.ContainsKey(String)
PrintToken.ToString()
PrintToken.TryParse(String, PrintToken)
PrintToken.Item[String]
Namespace: NineDigit.eKasa
Assembly: NineDigit.eKasa.dll
Syntax
public sealed class BarcodeToken : PrintToken

Properties

Content

Obsah čiarového kódu

Declaration
public string Content { get; }
Property Value
Type Description
System.String

ElementWidth

Šírka elementu čiarového kódu. Podporované iba v prípade tlačiarne papierových dokladov.

Declaration
public Nullable<BarcodeElementWidth> ElementWidth { get; }
Property Value
Type Description
System.Nullable<BarcodeElementWidth>

Height

Výška čiarového kódu. V prípade null hodnoty určuje prevolenú hodnotu zvolená tlačiareň.

Declaration
public Nullable<byte> Height { get; }
Property Value
Type Description
System.Nullable<System.Byte>

HriPosition

Určenie pozície textu pri čiarovom kóde. Podporované iba v prípade tlačiarne papierových dokladov.

Declaration
public Nullable<BarcodeHriPosition> HriPosition { get; }
Property Value
Type Description
System.Nullable<BarcodeHriPosition>

Type

Typ čiarového kódu

Declaration
public Nullable<BarcodeType> Type { get; }
Property Value
Type Description
System.Nullable<BarcodeType>

Methods

Create(String, BarcodeType, Nullable<BarcodeHriPosition>, Nullable<Byte>, Nullable<Byte>)

Vytvorí novú inštanciu tokenu pre tlač čiarového kódu.

Declaration
public static BarcodeToken Create(string content, BarcodeType type, Nullable<BarcodeHriPosition> hriPosition = null, Nullable<byte> height = null, Nullable<byte> elementWidth = null)
Parameters
Type Name Description
System.String content

Obsah čiarového kódu

BarcodeType type

Typ čiarového kódu

System.Nullable<BarcodeHriPosition> hriPosition

Určenie pozície textu pri čiarovom kóde. Podporované iba v prípade tlačiarne papierových dokladov.

System.Nullable<System.Byte> height

Výška čiarového kódu. V prípade null hodnoty určuje prevolenú hodnotu zvolená tlačiareň

System.Nullable<System.Byte> elementWidth

Šírka elementu čiarového kódu. Podporované iba v prípade tlačiarne papierových dokladov.

Returns
Type Description
BarcodeToken
Exceptions
Type Condition
System.ArgumentException
In This Article
Na začiatok stránky Nine Digit, s.r.o. ©