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




In This Topic
    OptionalCheckSum Property (ReaderSettings)
    In This Topic
    Gets or sets a value indicating whether the barcode reader calculates an optional checksum.
    Syntax
    'Declaration
     
    <DescriptionAttribute("Barcode reader calculates an optional checksum.")>
    <DefaultValueAttribute()>
    Public Property OptionalCheckSum As Boolean
    'Usage
     
    Dim instance As ReaderSettings
    Dim value As Boolean
     
    instance.OptionalCheckSum = value
     
    value = instance.OptionalCheckSum
    [Description("Barcode reader calculates an optional checksum.")]
    [DefaultValue()]
    public bool OptionalCheckSum {get; set;}
    [Description("Barcode reader calculates an optional checksum.")]
    [DefaultValue()]
    public: __property bool get_OptionalCheckSum();
    public: __property void set_OptionalCheckSum( 
       bool value
    );
    [Description("Barcode reader calculates an optional checksum.")]
    [DefaultValue()]
    public:
    property bool OptionalCheckSum {
       bool get();
       void set (    bool value);
    }

    Property Value

    true - optional checksum is calculated,
    false - optional checksum is not calculated.
    Default value is false.
    Remarks
    The following barcode symbologies have optional checksum: Code 39, Industrial Standard 2 of 5, Interleaved 2 of 5, Matrix 2 of 5.
    Requirements

    Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also