VintaSoft Barcode .NET SDK v10.0
Vintasoft.WpfBarcode Namespace / WriterSettings Class / BarsRatio Property




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
     
    <DescriptionAttribute("Ratio of the wide bar width to the narrow bar width (only for barcodes width 1X and 2X bars width).")>
    <DefaultValueAttribute()>
    <CategoryAttribute("Common")>
    Public Property BarsRatio As Double
    'Usage
     
    Dim instance As WriterSettings
    Dim value As Double
     
    instance.BarsRatio = value
     
    value = instance.BarsRatio
    [Description("Ratio of the wide bar width to the narrow bar width (only for barcodes width 1X and 2X bars width).")]
    [DefaultValue()]
    [Category("Common")]
    public double BarsRatio {get; set;}
    [Description("Ratio of the wide bar width to the narrow bar width (only for barcodes width 1X and 2X bars width).")]
    [DefaultValue()]
    [Category("Common")]
    public: __property double get_BarsRatio();
    public: __property void set_BarsRatio( 
       double value
    );
    [Description("Ratio of the wide bar width to the narrow bar width (only for barcodes width 1X and 2X bars width).")]
    [DefaultValue()]
    [Category("Common")]
    public:
    property double BarsRatio {
       double get();
       void set (    double value);
    }

    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: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also