[]
        
(Showing Draft Content)

C1.BarCode.QuietZone.IsEmpty

IsEmpty Property

IsEmpty

Gets a value indicating whether the QuietZone is empty.

Declaration
public bool IsEmpty { get; }
Remarks

Left, Top, Right and Bottom properties of the Empty QuietZone have values of 0.

Examples

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);
}