BarCode for WPF | ComponentOne
C1.WPF.BarCode.4.6.2 Assembly / C1.WPF.BarCode Namespace / C1BarCode Class / QuietZone Property
Example

In This Topic
    QuietZone Property (C1BarCode)
    In This Topic
    A quiet zone is an area of blank space on either side of a barcode that tells the scanner where the symbology starts and stops.
    Syntax
    'Declaration
     
    Public Property QuietZone As QuietZone
    public QuietZone QuietZone {get; set;}
    Remarks
    If the quiet zone is empty and AutoSize is true, the default value will be used for the specified barcode. The default value depends on the CodeType, for example, C1.BarCode.CodeType.QRCode have a quiet zone of four blocks wide, while C1.BarCode.CodeType.DataMatrix have quiet zone of only one block wide.
    Example
    Set custom QuietZone of 10 pixels.
    c1BarCode1.QuietZone = new QuietZone(10, 10, 10, 10);
    See Also