UniPRT SDK  v1.0.0.0
UniPRT.Sdk.LabelMaker.Interfaces 命名空间参考

class  AAztecBarcode
 Aztec 2D 条码的基类。 更多...
 
class  ABarcode1D
 
class  ABarcode2D
 
class  ABarcodeItem
 
class  ABarWidths
 
class  ACellSquare
 
class  ADataMatrix
 用于 DataMatrix 2D 条码的基类,支持 ECC 200 错误校正。 更多...
 
class  ALine
 
class  AMaxicodeBarcode
 
class  AMaxicodeMsg
 用于具有自由格式讯息的模式。不适用于模式 2 或 3。 更多...
 
class  AMaxicodeMsgStructured
 仅适用于模式 2 或 3。 更多...
 
class  AMaxicodeMsgStructuredOpenSystemStandard
 
class  APair
 
class  APdf417
 PDF417 条码的基类。 更多...
 
class  AQRBarcode
 QR Code 2D 条码的基类。 更多...
 
class  ARfidWrite
 
class  AText
 
class  ATextItem
 
class  BarcodeItem
 
class  CellRect
 
class  CellSquare
 
class  Defaults
 如果在对象创建时未指定或设置/更改,则使用的默认设置值。 更多...
 
class  FontSize
 X 和 Y 方向的字体大小允许在需要非默认字体大小时进行拉伸/调整大小。 更多...
 
interface  IAlignment
 对象在平面内的对齐方式。 更多...
 
interface  IBarcode1D
 
interface  IBarcode2D
 
interface  IBarcode_1D_Properties
 
interface  IBarcodeItem
 指定条码的内容和条码在平面上开始的位置。 更多...
 
interface  IBarcodeItem_2D
 指定条码内容及其在平面上开始的位置。 更多...
 
interface  IBarcodeType1D
 
interface  IBarWidths
 设置窄/宽条的宽度。 更多...
 
interface  IBox
 
interface  ICellRect
 设置 2D 条码的单个单元矩形的大小。 更多...
 
interface  ICellSquare
 设置 2D 条码的单个单元方形的大小。 更多...
 
interface  IFont
 
interface  IFontSettings
 
interface  IFontSize
 用于字体缩放/调整大小的配对。 更多...
 
interface  IFontSizeUnits
 
interface  IFontStyle
 
interface  ILabel
 标签是其他打印对象的容器。 更多...
 
interface  ILine
 
interface  IMaxicodeBarcode
 
interface  IMaxicodeData
 包含 Maxicode 条码数据的对象接口。 更多...
 
interface  IMaxicodeMsg
 Maxicode 条码数据。不适用于模式 2 或 3。 更多...
 
interface  IMaxicodeMsgStructured
 Maxicode 条码数据。Maxicode 自由格式承载讯息。仅适用于模式 2 和 3。 更多...
 
interface  IMaxicodeMsgStructuredOpenSystemStandard
 Maxicode 条码数据。Maxicode 开放系统标准承载讯息。仅适用于模式 2 和 3。 更多...
 
interface  IPair
 用于任何二维平面关系或其他用途的配对。 更多...
 
interface  IPoint
 二维平面内的坐标配对。 更多...
 
interface  IPositionRuler
 
interface  IPrintResolution
 打印分辨率可以设置为英寸或毫米刻度。设置或更新任一刻度都会导致两者的更新。 更多...
 
interface  IRectangleCell
 
interface  IRfidBankSelect
 
interface  IRfidBitField
 
interface  IRfidPassword
 用于需要密码保护的存储访问情况。 更多...
 
interface  IRfidWrite
 写入 RFID 标签的不同区域或存储区块。 更多...
 
interface  IRotation
 对象的旋转。 更多...
 
interface  IRuler
 用于平面内对象放置的单位和分辨率。 更多...
 
interface  ISquareCell
 
interface  IText
 
interface  ITextItem
 指定文本及其在平面上开始的位置。 更多...
 
interface  ITextSettings
 
class  Point
 
class  PrintResolution
 
class  RfidConvert
 支持方法以帮助将非字节数据转换为存储在 RFID 标签中的顺序。 更多...
 
class  Ruler
 
class  TextItem
 

枚举

enum  AlignEnum { AlignEnum.Default, AlignEnum.Left, AlignEnum.Center, AlignEnum.Right }
 对象在平面内的对齐选项。 更多...
 
enum  AztecCodeTypeEnum {
  AztecCodeTypeEnum.Default, AztecCodeTypeEnum.FixedErrCorrection, AztecCodeTypeEnum.Compact, AztecCodeTypeEnum.Full,
  AztecCodeTypeEnum.Rune
}
 Aztec 条码类型/格式。 更多...
 
enum  BarcodeTypeEnum_1D {
  NOT_DEFINED, Code_93, Code_39, Code_128,
  EAN13, EAN8, UPCA, I2of5,
  CODABAR
}
 1D 条码的条码类型。
 
enum  FontSizeUnitsEnum { FontSizeUnitsEnum.Ruler, FontSizeUnitsEnum.Points, FontSizeUnitsEnum.Percent }
 选择字体调整大小的单位。 更多...
 
enum  FontStyleEnum { FontStyleEnum.Normal = 0, FontStyleEnum.Bold = 1, FontStyleEnum.Italic = 2 }
 此枚举支持成员值的位运算操作。 更多...
 
enum  MaxicodeModeEnum { MaxicodeModeEnum.MODE_2 = 2, MaxicodeModeEnum.MODE_3 = 3, MaxicodeModeEnum.MODE_4 = 4 }
 Maxicode 模式。 更多...
 
enum  Pdf417ErrCorrectionEnum {
  Pdf417ErrCorrectionEnum.LEVEL_0 = 0, LEVEL_1, LEVEL_2, LEVEL_3,
  LEVEL_4, LEVEL_5, LEVEL_6, LEVEL_7,
  Pdf417ErrCorrectionEnum.LEVEL_8
}
 错误校正,也称为安全级别,允许受损的条码仍然可读。 更多...
 
enum  QRCodeErrorCorrectionEnum { QRCodeErrorCorrectionEnum.EC_7, QRCodeErrorCorrectionEnum.EC_15, QRCodeErrorCorrectionEnum.EC_25, QRCodeErrorCorrectionEnum.EC_30 }
 错误校正允许条码在损坏时仍然可读,但会增加编码的数据量。 更多...
 
enum  QRCodeManualEncodingEnum { QRCodeManualEncodingEnum.Numeric, QRCodeManualEncodingEnum.AlphaNumeric, QRCodeManualEncodingEnum.Binary, QRCodeManualEncodingEnum.Kanji }
 QR 条码数据可以使用不同的编码类型存储,这会影响条码的存储容量。 更多...
 
enum  QRCodeMaskEnum {
  Mask_0 = 0, Mask_1, Mask_2, Mask_3,
  Mask_4, Mask_5, Mask_6, Mask_7,
  Mask_8
}
 QR 掩码通过改变亮暗单元格的分布来改变生成的 QR 条码。 更多...
 
enum  QRCodeModelEnum { MODEL_1, MODEL_2 }
 QR 条码的容量和可读性增加。模型 1 是原始型,其他模型提高了可读性和数据容量。
 
enum  RfidMemBlockEnum {
  RfidMemBlockEnum.InvalidMemBlock, RfidMemBlockEnum.EPC, RfidMemBlockEnum.TID, RfidMemBlockEnum.User,
  RfidMemBlockEnum.AccessCode, RfidMemBlockEnum.KillCode, RfidMemBlockEnum.PC, RfidMemBlockEnum.Reserve
}
 RFID 存储区块选择。 更多...
 
enum  RfidPasswordTypeEnum {
  RfidPasswordTypeEnum.None, RfidPasswordTypeEnum.Lock, RfidPasswordTypeEnum.PermaLock, RfidPasswordTypeEnum.Unlock,
  RfidPasswordTypeEnum.PermaUnlock
}
 RFID 格式参数,用于表示字符串类型。 更多...
 
enum  RotateEnum { RotateEnum.None, RotateEnum.ClockWise, RotateEnum.CounterClockWise, RotateEnum.Inverted }
 支持旋转的对象命令的方向/旋转。 更多...
 
enum  ScaleEnum { ScaleEnum.Dot, ScaleEnum.MM, ScaleEnum.Inch }
 用于平面内对象放置的刻度类型。 更多...
 

枚举类型说明

◆ AlignEnum

对象在平面内的对齐选项。

枚举值
Default 

Default align.

Left 

Left align.

Center 

Center align.

Right 

Right align.

◆ AztecCodeTypeEnum

Aztec 条码类型/格式。

枚举值
Default 

Uses default error correction level of 23% + 3 codewords

FixedErrCorrection 

User specified error correction level from 1 to 99.

Compact 

Compact format barcode. Allows 1 - 4 layers. Core, center finder pattern, has 2 black squares in addition to center square.

Full 

Full format barcode. Allows 1 - 32 layers. Core, center finder pattern, has 3 black squares in addition to center square.

Rune 

Typically used to encode one byte of data represented as decimal range 0-255.

◆ FontSizeUnitsEnum

选择字体调整大小的单位。

枚举值
Ruler 

Use the units of the ruler. Ruler units are converted to font points (1/72 inch, ~0.35 mm).

Points 

Use font point. 1 point = 1/72 inch (~0.35 mm).

Percent 

0-100 percent expansion/multiplier scaling. 0 or 1 specifies standard font, no scaling. 100% for maximum expansion/multiplier.

◆ FontStyleEnum

此枚举支持成员值的位运算操作。

枚举值
Normal 

Default/normal text

Bold 

Bold text

Italic 

Italic text

◆ MaxicodeModeEnum

Maxicode 模式。

Maxicode 条码有两个主要的讯息结构,称为主要讯息和次要讯息。模式决定讯息结构的内容和错误校正方式(EEC = 增强错误校正,SEC = 标准错误校正)。
由于每个讯息区段(主要讯息或次要讯息)可以有不同的错误校正级别,将根据模式将数据编码到 Maxicode 条码中。
模式 2 和 3:

  • 主要讯息的特定格式需要:
    • 邮政编码(6-9 个字符)
    • 国家代码(3 个字符数字)
    • 服务类别(3 个字符数字)
  • 次要讯息可以是自由格式,取决于应用程序。例如 UPS 运输需要特定的字段和字段分隔符。
枚举值
MODE_2 

Structured Carrier Message: 6-9 chars postal code (numeric)

MODE_3 

Structured Carrier Message: 6 chars postal code (alphanumeric)

MODE_4 

Standard Symbol. Unstructured data, general-use barcode. EEC Primary Message, SEC Secondary Message.

◆ Pdf417ErrCorrectionEnum

错误校正,也称为安全级别,允许受损的条码仍然可读。

较高的错误校正允许条码在损坏更严重的情况下仍可读取。
请注意,较高的错误校正会增加条码中的数据量。

枚举值
LEVEL_0 

Lowest level of error correction

LEVEL_8 

Highest level of error correction

◆ QRCodeErrorCorrectionEnum

错误校正允许条码在损坏时仍然可读,但会增加编码的数据量。

较高的错误校正允许条码在损坏更严重时仍能被读取。
条码的大小/面积随着更高的错误校正而增加,因为在更高的错误校正级别中使用了更多数据。

枚举值
EC_7 

7% Error Correction. Also known as 'L' level.

EC_15 

15% Error Correction. Also known as 'M' level.

EC_25 

25% Error Correction. Also known as 'Q' level.

EC_30 

30% Error Correction. Also known as 'H' level.

◆ QRCodeManualEncodingEnum

QR 条码数据可以使用不同的编码类型存储,这会影响条码的存储容量。

为了优化条码的数据容量,有时候可能需要手动编码不同的数据类型以匹配存储在 QR 条码中的数据类型。例如,数字数据(仅包含数字)比其他数据类型更有效率地存储,如果有一长串数字,可能更有效率地以数字格式存储。

枚举值
Numeric 

Numbers only.

AlphaNumeric 

Numbers and letters

Binary 

Byte/binary.

Kanji 

Kanji Data

◆ QRCodeMaskEnum

QR 掩码通过改变亮暗单元格的分布来改变生成的 QR 条码。

使用不同的掩码可能会使 QR 条码更容易被条码扫描器读取。

◆ RfidMemBlockEnum

RFID 存储区块选择。

枚举值
InvalidMemBlock 

For case where need to enforce initialization

EPC 

Electronic Product Code

TID 

Tag Identification. This is typically a read only field.

User 

User memory.

AccessCode 

Access code. Typically 4 bytes.

KillCode 

Kill code. Typically 4 bytes.

PC 

Protocol Control Word (16 bits) (Gen 2 tags only)

Reserve 

Reserved memory.

◆ RfidPasswordTypeEnum

RFID 格式参数,用于表示字符串类型。

虽然所有数据都是字符串,但限制因素是根据数据格式中的字符。
示例:

  • 二进制: "0101"
  • 十六进制: "AF29CD5E"
  • 十进制: "1975"
  • 字符串: "June 15, 1215"

用于访问/保护支持此功能的标签上的存储区的密码。

枚举值
None 

No password.

Lock 

Lock. Allows for modificiation of data in future if correct password provided.

PermaLock 

Permanently lock. Prevents further modification of data.

Unlock 

Unlock block so that it can be overwritten.

PermaUnlock 

Permanently unlock. Cannot be locked.

◆ RotateEnum

支持旋转的对象命令的方向/旋转。

枚举值
None 

No rotation.

ClockWise 

90 Degrees clockwise rotation

CounterClockWise 

90 Degrees counter clockwise rotation. 270 Degrees clockwise rotation

Inverted 

180 Degrees clockwise rotation

◆ ScaleEnum

用于平面内对象放置的刻度类型。

枚举值
Dot 

Dot scale.

MM 

Millimeter scale

Inch 

Inch scale