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




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
     
    <DefaultValueAttribute()>
    <DescriptionAttribute("Barcode writer calculates an optional checksum.")>
    <CategoryAttribute("1D Barcodes")>
    Public Property OptionalCheckSum As Boolean
    'Usage
     
    Dim instance As WriterSettings
    Dim value As Boolean
     
    instance.OptionalCheckSum = value
     
    value = instance.OptionalCheckSum
    [DefaultValue()]
    [Description("Barcode writer calculates an optional checksum.")]
    [Category("1D Barcodes")]
    public bool OptionalCheckSum {get; set;}
    [DefaultValue()]
    [Description("Barcode writer calculates an optional checksum.")]
    [Category("1D Barcodes")]
    public: __property bool get_OptionalCheckSum();
    public: __property void set_OptionalCheckSum( 
       bool value
    );
    [DefaultValue()]
    [Description("Barcode writer calculates an optional checksum.")]
    [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: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also