ComponentOne BarCode for WinForms
C1.Win.Barcode.4.8 Assembly / C1.BarCode Namespace / QuietZone Class / IsEmpty Property
Example

In This Topic
    IsEmpty Property
    In This Topic
    Gets a value indicating whether the QuietZone is empty.
    Syntax
    'Declaration
     
    Public ReadOnly Property IsEmpty As System.Boolean
    public System.bool IsEmpty {get;}
    Remarks
    Left, Top, Right and Bottom properties of the Empty QuietZone have values of 0.
    Example
    This code returns new QuietZone if the specified value (_quietZone) is Empty.
    public QuietZone GetQuietZone()
    {
       if(!_quietZone.IsEmpty)
          return _quietZone;
          
       return new QuietZone(10, 10, 10, 10);
    }
    See Also