VintaSoft Barcode .NET SDK 14.3: Documentation for .NET developer
Vintasoft.Barcode Namespace / WriterSettings Class / OptionalCheckSum Property
Syntax Remarks Requirements SeeAlso
In This Topic
    OptionalCheckSum Property (WriterSettings)
    In This Topic
    Gets or sets a value indicating whether the barcode writer calculates an optional checksum.
    Syntax
    'Declaration
    
    <DescriptionAttribute("Barcode writer calculates an optional checksum.")>
    <DefaultValueAttribute(False)>
    <CategoryAttribute("1D Barcodes")>
    Public Property OptionalCheckSum As Boolean
    
    
    [Description("Barcode writer calculates an optional checksum.")]
    [DefaultValue(False)]
    [Category("1D Barcodes")]
    public bool OptionalCheckSum { get; set; }
    
    
    [Description("Barcode writer calculates an optional checksum.")]
    [DefaultValue(False)]
    [Category("1D Barcodes")]
    public: __property bool get_OptionalCheckSum();
    public: __property void set_OptionalCheckSum(
    bool value
    );
    [Description("Barcode writer calculates an optional checksum.")]
    [DefaultValue(False)]
    [Category("1D Barcodes")]
    public:
    property bool OptionalCheckSum { bool get(); void set(bool value); }

    Property Value

    false - optional checksum will not be calculated;
    true - optional checksum will be calculated.
    Default value is false.
    Remarks

    The following barcode symbologies have optional checksum:

    • Code 39
    • Industrial Standard 2 of 5
    • Interleaved 2 of 5
    We recommend use checksum!

    Requirements

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

    See Also