VintaSoft Barcode .NET SDK 15.1: Documentation for .NET developer
In This Topic
    API changes in version 10.0
    In This Topic

    API changes in Vintasoft.Barcode.dll

    New classes:

    public class Vintasoft.Barcode.BarcodeCompositeElement Provides a composite barcode element.
    public class Vintasoft.Barcode.BarcodeCompositeElement <T> Provides a composite barcode element of specified type.
    public abstract class Vintasoft.Barcode.BarcodeElement Provides a base class of barcode element (cell, matrix, pattern...).
    public abstract class Vintasoft.Barcode.BarcodeElements A collection of common barcode elements.
    public abstract class Vintasoft.Barcode.BarcodeGraphicsRenderer Provides a base abstract class that renders barcode on System.Drawing.Graphics.
    public class Vintasoft.Barcode.BarcodeLayerElement A barcode element that represents a barcode layer.
    public class Vintasoft.Barcode.BarcodeMatrixElement A barcode element that represents the matrix element of matrix barcode.
    public abstract class Vintasoft.Barcode.BarcodeRenderer Provides a base abstract class of barcode renderer.
    public class Vintasoft.Barcode.BarcodeSimpleElement Represent a simple barcode element (cell, bar, ...).
    public class Vintasoft.Barcode.BarcodeStructure A base class that stores barcode structure.
    public class Vintasoft.Barcode.BarcodeStructureViewer A control that allows to display barcode generated by the barcode renderer.
    public class Vintasoft.Barcode.MatrixBarcodeStructure A class that stores structure of two-dimentsional matrix barcode (Aztec, QR Code, Micro QR, Data Matrix, Han Xin Code).


    Changed classes:

    Vintasoft.Barcode.BarcodeWriter
    Added methods
    public System.Drawing.Bitmap GetBarcodeAsBitmap(double, double, Vintasoft.Barcode.UnitOfMeasure) Returns barcode as an image (Bitmap object) with specified size.
    public Vintasoft.Barcode.BarcodeStructure GetBarcodeStructure() Returns barcode as a barcode structure object.


    Vintasoft.Barcode.BarcodeWriterControl
    Added properties
    public double BarcodeImageHeight { get ; set ; } Gets or sets the height of the barcode image, in Vintasoft.Barcode.BarcodeWriterControl.BarcodeImageSizeUnits.
    public Vintasoft.Barcode.UnitOfMeasure BarcodeImageSizeUnits { get ; set ; } Gets or sets the units of measure of barcode image size.
    public double BarcodeImageWidth { get ; set ; } Gets or sets the width of the barcode image, in Vintasoft.Barcode.BarcodeWriterControl.BarcodeImageSizeUnits.
    public Vintasoft.Barcode.BarcodeGraphicsRenderer BarcodeRenderer { get ; set ; } Gets or sets the renderer of barcode.
    public Vintasoft.Barcode.BarcodeWriter Writer { get ; } Gets the barcode writer.


    Vintasoft.Barcode.ReaderSettings
    Added properties
    public float ImageScaleFactor { get ; set ; } Gets or sets a scale factor that is used for upscaling or downscaling an image before barcode recognition.
    public int MatrixBarcodeMaxCellSize { get ; set ; } Gets or sets the maximum cell size, in pixels, for two-dimensional matrix barcodes (Aztec, DataMatrix, QR, Micro QR, Han Xin Code, Maxicode).
    public float PharmacodeMaxHeight { get ; set ; } Gets or sets the maximum barcode height, in narrow bars, for Pharmacode barcode.
    public float PharmacodeMinHeight { get ; set ; } Gets or sets the minimum barcode height, in narrow bars, for Pharmacode barcode.
    public float PharmacodeMinPadding { get ; set ; } Gets or sets the minimum barcode padding, in narrow bars, for Pharmacode barcode.
    public int RecognitionTimeout { get ; set ; } Gets or sets the recognition time-out, in milliseconds.
    public bool SearchCode39WithoutStartStop { get ; set ; } Gets or sets a value indicating whether the barcode reader must search Code 39 barcodes without Start/Stop symbols.
    public bool SearchQRModel1Barcodes { get ; set ; } Gets or sets a value indicating whether the barcode reader must search QR Code Model 1 barcodes.


    Vintasoft.Barcode.WriterSettings
    Added properties
    public int QRMaskPattern { get ; set ; } Gets or sets QR mask pattern.
    public int QuietZoneBottom { get ; set ; } Gets or sets the quiet zone, in pixels, at bottom side.
    public int QuietZoneLeft { get ; set ; } Gets or sets the quiet zone, in pixels, at left side.
    public int QuietZoneRight { get ; set ; } Gets or sets the quiet zone, in pixels, at right side.
    public int QuietZoneTop { get ; set ; } Gets or sets the quiet zone, in pixels, at top side.


    Vintasoft.Barcode.BarcodeInfo.BarcodeInfo2D
    Added properties
    public bool IsMirrored { get ; } Gets a value indicating whether this barcode is recognized from mirrored barcode image.


    Vintasoft.Barcode.BarcodeInfo.HanXinCodeInfo
    Added properties
    public System.Drawing.PointF LeftBottomFinderPatternCenter { get ; } Gets the center of the left-bottom finder pattern of Han Xin Code barcode.
    public System.Drawing.PointF LeftTopFinderPatternCenter { get ; } Gets the center of the left-top finder pattern of Han Xin Code barcode.
    public System.Drawing.PointF RightBottomFinderPatternCenter { get ; } Gets the center of the right-bottom finder pattern of Han Xin Code barcode.
    public System.Drawing.PointF RightTopFinderPatternCenter { get ; } Gets the center of the right-top finder pattern of Han Xin Code barcode.


    Vintasoft.Barcode.BarcodeInfo.QRInfo
    Added properties
    public int DataMaskPattern { get ; } Returns a data mask pattern used in barcode.
    public System.Drawing.PointF LeftBottomFinderPatternCenter { get ; } Gets the center of the left-bottom finder pattern of QR barcode.
    public System.Drawing.PointF LeftTopFinderPatternCenter { get ; } Gets the center of the left-top finder pattern of QR barcode.
    public System.Drawing.PointF RightTopFinderPatternCenter { get ; } Gets the center of the right-top finder pattern of QR barcode.


    Vintasoft.Barcode.BarcodeInfo.QRSymbol
    Added properties
    public int Model { get ; } Gets the model of QR code.


    Changed enumerations:

    Vintasoft.Barcode.BarcodeInfo.QRSymbolVersion
    Added fields
    public Vintasoft.Barcode.BarcodeInfo.QRSymbolVersion Model1Version1 21 Modules at side (Model 1).
    public Vintasoft.Barcode.BarcodeInfo.QRSymbolVersion Model1Version2 25 Modules at side (Model 1).
    public Vintasoft.Barcode.BarcodeInfo.QRSymbolVersion Model1Version3 29 Modules at side (Model 1).
    public Vintasoft.Barcode.BarcodeInfo.QRSymbolVersion Model1Version4 33 Modules at side (Model 1).
    public Vintasoft.Barcode.BarcodeInfo.QRSymbolVersion Model1Version5 37 Modules at side (Model 1).
    public Vintasoft.Barcode.BarcodeInfo.QRSymbolVersion Model1Version6 41 Modules at side (Model 2).
    public Vintasoft.Barcode.BarcodeInfo.QRSymbolVersion Model1Version7 45 Modules at side (Model 1).
    public Vintasoft.Barcode.BarcodeInfo.QRSymbolVersion Model1Version8 49 Modules at side (Model 1).
    public Vintasoft.Barcode.BarcodeInfo.QRSymbolVersion Model1Version9 53 Modules at side (Model 1).
    public Vintasoft.Barcode.BarcodeInfo.QRSymbolVersion Model1Version10 57 Modules at side (Model 1).
    public Vintasoft.Barcode.BarcodeInfo.QRSymbolVersion Model1Version11 61 Modules at side (Model 1).
    public Vintasoft.Barcode.BarcodeInfo.QRSymbolVersion Model1Version12 65 Modules at side (Model 1).
    public Vintasoft.Barcode.BarcodeInfo.QRSymbolVersion Model1Version13 69 Modules at side (Model 1).
    public Vintasoft.Barcode.BarcodeInfo.QRSymbolVersion Model1Version14 73 Modules at side (Model 1).




    API changes in Vintasoft.WpfBarcode.dll

    New classes:

    public class Vintasoft.WpfBarcode.BarcodeCompositeElement Provides a composite barcode element.
    public class Vintasoft.WpfBarcode.BarcodeCompositeElement <T> Provides a composite barcode element of specified type.
    public abstract class Vintasoft.WpfBarcode.BarcodeDrawingContextRenderer Provides a base abstract class that renders barcode on System.Windows.Media.DrawingContext.
    public abstract class Vintasoft.WpfBarcode.BarcodeElement Provides a base class of barcode element (cell, matrix, pattern...).
    public abstract class Vintasoft.WpfBarcode.BarcodeElements A collection of common barcode elements.
    public class Vintasoft.WpfBarcode.BarcodeLayerElement A barcode element that represents a barcode layer.
    public class Vintasoft.WpfBarcode.BarcodeMatrixElement A barcode element that represents the matrix element of matrix barcode.
    public abstract class Vintasoft.WpfBarcode.BarcodeRenderer Provides a base abstract class of barcode renderer.
    public class Vintasoft.WpfBarcode.BarcodeSimpleElement Represent a simple barcode element (cell, bar, ...).
    public class Vintasoft.WpfBarcode.BarcodeStructure A base class that stores barcode structure.
    public class Vintasoft.WpfBarcode.BarcodeStructureViewer A control that allows to display barcode generated by the barcode renderer.
    public class Vintasoft.WpfBarcode.MatrixBarcodeStructure A class that stores structure of two-dimentsional matrix barcode (Aztec, QR Code, Micro QR, Data Matrix, Han Xin Code).


    Changed classes:

    Vintasoft.WpfBarcode.BarcodeWriter
    Added methods
    public System.Windows.Media.Imaging.BitmapSource GetBarcodeAsBitmapSource(double, double, Vintasoft.WpfBarcode.UnitOfMeasure) Returns barcode as an image (Bitmap object) with specified size.
    public Vintasoft.WpfBarcode.BarcodeStructure GetBarcodeStructure() Returns the barcode as a barcode structure object.


    Vintasoft.WpfBarcode.BarcodeWriterControl
    Added properties
    public double BarcodeImageHeight { get ; set ; } Gets or sets the height of the barcode image, in Vintasoft.Barcode.BarcodeWriterControl.BarcodeImageSizeUnits.
    public Vintasoft.WpfBarcode.UnitOfMeasure BarcodeImageSizeUnits { get ; set ; } Gets or sets the units of measure of barcode image size.
    public double BarcodeImageWidth { get ; set ; } Gets or sets the width of the barcode image, in Vintasoft.Barcode.BarcodeWriterControl.BarcodeImageSizeUnits.
    public Vintasoft.WpfBarcode.BarcodeDrawingContextRenderer BarcodeRenderer { get ; set ; } Gets or sets the renderer of barcode.
    public Vintasoft.WpfBarcode.BarcodeWriter Writer { get ; } Gets the barcode writer.


    Vintasoft.WpfBarcode.ReaderSettings
    Added properties
    public float ImageScaleFactor { get ; set ; } Gets or sets a scale factor that is used for upscaling or downscaling an image before barcode recognition.
    public int MatrixBarcodeMaxCellSize { get ; set ; } Gets or sets the maximum cell size, in pixels, for two-dimensional matrix barcodes (Aztec, DataMatrix, QR, Micro QR, Han Xin Code, Maxicode).
    public float PharmacodeMaxHeight { get ; set ; } Gets or sets the maximum barcode height, in narrow bars, for Pharmacode barcode.
    public float PharmacodeMinHeight { get ; set ; } Gets or sets the minimum barcode height, in narrow bars, for Pharmacode barcode.
    public float PharmacodeMinPadding { get ; set ; } Gets or sets the minimum barcode padding, in narrow bars, for Pharmacode barcode.
    public int RecognitionTimeout { get ; set ; } Gets or sets the recognition time-out, in milliseconds.
    public bool SearchCode39WithoutStartStop { get ; set ; } Gets or sets a value indicating whether the barcode reader must search Code 39 barcodes without Start/Stop symbols.
    public bool SearchQRModel1Barcodes { get ; set ; } Gets or sets a value indicating whether the barcode reader must search QR Code Model 1 barcodes.


    Vintasoft.WpfBarcode.WriterSettings
    Added properties
    public int QRMaskPattern { get ; set ; } Gets or sets QR mask pattern.
    public int QuietZoneBottom { get ; set ; } Gets or sets the quiet zone, in pixels, at bottom side.
    public int QuietZoneLeft { get ; set ; } Gets or sets the quiet zone, in pixels, at left side.
    public int QuietZoneRight { get ; set ; } Gets or sets the quiet zone, in pixels, at right side.
    public int QuietZoneTop { get ; set ; } Gets or sets the quiet zone, in pixels, at top side.


    Vintasoft.WpfBarcode.BarcodeInfo.BarcodeInfo2D
    Added properties
    public bool IsMirrored { get ; } Gets a value indicating whether this barcode is recognized from mirrored barcode image.


    Vintasoft.WpfBarcode.BarcodeInfo.HanXinCodeInfo
    Added properties
    public System.Windows.Point LeftBottomFinderPatternCenter { get ; } Gets the center of the left-bottom finder pattern of Han Xin Code barcode.
    public System.Windows.Point LeftTopFinderPatternCenter { get ; } Gets the center of the left-top finder pattern of Han Xin Code barcode.
    public System.Windows.Point RightBottomFinderPatternCenter { get ; } Gets the center of the right-bottom finder pattern of Han Xin Code barcode.
    public System.Windows.Point RightTopFinderPatternCenter { get ; } Gets the center of the right-top finder pattern of Han Xin Code barcode.


    Vintasoft.WpfBarcode.BarcodeInfo.QRInfo
    Added properties
    public int DataMaskPattern { get ; } Returns a data mask pattern used in barcode.
    public System.Windows.Point LeftBottomFinderPatternCenter { get ; } Gets the center of the left-bottom finder pattern of QR barcode.
    public System.Windows.Point LeftTopFinderPatternCenter { get ; } Gets the center of the left-top finder pattern of QR barcode.
    public System.Windows.Point RightTopFinderPatternCenter { get ; } Gets the center of the right-top finder pattern of QR barcode.


    Vintasoft.WpfBarcode.BarcodeInfo.QRSymbol
    Added properties
    public int Model { get ; } Gets the model of QR code.


    Changed enumerations:

    Vintasoft.WpfBarcode.BarcodeInfo.QRSymbolVersion
    Added fields
    public Vintasoft.WpfBarcode.BarcodeInfo.QRSymbolVersion Model1Version1 21 Modules at side (Model 1).
    public Vintasoft.WpfBarcode.BarcodeInfo.QRSymbolVersion Model1Version2 25 Modules at side (Model 1).
    public Vintasoft.WpfBarcode.BarcodeInfo.QRSymbolVersion Model1Version3 29 Modules at side (Model 1).
    public Vintasoft.WpfBarcode.BarcodeInfo.QRSymbolVersion Model1Version4 33 Modules at side (Model 1).
    public Vintasoft.WpfBarcode.BarcodeInfo.QRSymbolVersion Model1Version5 37 Modules at side (Model 1).
    public Vintasoft.WpfBarcode.BarcodeInfo.QRSymbolVersion Model1Version6 41 Modules at side (Model 2).
    public Vintasoft.WpfBarcode.BarcodeInfo.QRSymbolVersion Model1Version7 45 Modules at side (Model 1).
    public Vintasoft.WpfBarcode.BarcodeInfo.QRSymbolVersion Model1Version8 49 Modules at side (Model 1).
    public Vintasoft.WpfBarcode.BarcodeInfo.QRSymbolVersion Model1Version9 53 Modules at side (Model 1).
    public Vintasoft.WpfBarcode.BarcodeInfo.QRSymbolVersion Model1Version10 57 Modules at side (Model 1).
    public Vintasoft.WpfBarcode.BarcodeInfo.QRSymbolVersion Model1Version11 61 Modules at side (Model 1).
    public Vintasoft.WpfBarcode.BarcodeInfo.QRSymbolVersion Model1Version12 65 Modules at side (Model 1).
    public Vintasoft.WpfBarcode.BarcodeInfo.QRSymbolVersion Model1Version13 69 Modules at side (Model 1).
    public Vintasoft.WpfBarcode.BarcodeInfo.QRSymbolVersion Model1Version14 73 Modules at side (Model 1).