VintaSoft Barcode .NET SDK 16.1: Documentation for .NET developer
Vintasoft.Barcode Namespace / WriterSettings Class / BarsRatio Property
Syntax Remarks Requirements SeeAlso
In This Topic
BarsRatio Property (WriterSettings)
In This Topic
Gets or sets the ratio of the wide bar width to the narrow bar width (only for barcodes width 1X and 2X bars width).
Syntax
'Declaration

<DefaultValueAttribute(2)>
<DescriptionAttribute("Ratio of the wide bar width to the narrow bar width (only for barcodes width 1X and 2X bars width).")>
<CategoryAttribute("Common")>
Public Property BarsRatio As Double

[DefaultValue(2)]
[Description("Ratio of the wide bar width to the narrow bar width (only for barcodes width 1X and 2X bars width).")]
[Category("Common")]
public double BarsRatio { get; set; }

Property Value

Minimum value is 1.5, maximum value is 3.5.
Default value is 2.
Remarks

Applicable only to:

  • Codabar
  • Code 11
  • Code 39
  • IATA 2 of 5
  • Interleaved 2 of 5
  • Standard 2 of 5
  • Matrix 2 of 5
  • MSI
  • Telepen

Requirements

Target Platforms: .NET 11; .NET 10; .NET 9; .NET 8; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also