Barcode.GetRatioString

Barcode

static string TECIT.TBarCode.Barcode.GetRatioString(BarcodeType barcodeType)

Returns the default print-ratio string of the barcode.

Parameters

Parameter / typeDescription
barcodeType BarcodeType

Type of the barcode.

Returns

Barcode symbology depending string in the format "1:2:...:1:2"

The ratio string looks like "1:3:1:3" where the single values separated by colons corresponds to the ratio-values of the bars or spaces. The format of the ratio-string matches the format of the ratio-hint (see GetRatioHint). This default value is used if no other print-ratio was selected.

Search documentation

Search in
More scopes
Additional scopes

All contents