Barcode Xpress for .NET Framework v14.0 - Updated
Accusoft.BarcodeXpressSdk Namespace / InsufficientWidthException Class
Members




In This Topic
    InsufficientWidthException Class
    In This Topic
    This exception is thrown if the barcode WriterBase.Width value set by the user is smaller than the required width of the barcode.
    Object Model
    InsufficientWidthException Class
    Syntax
    'Declaration
     
    <SerializableAttribute()>
    Public NotInheritable Class InsufficientWidthException 
       Inherits BarcodeException
    'Usage
     
    Dim instance As InsufficientWidthException
    [Serializable()]
    public sealed class InsufficientWidthException : BarcodeException 
    [Serializable()]
    public __gc __sealed class InsufficientWidthException : public BarcodeException 
    [Serializable()]
    public ref class InsufficientWidthException sealed : public BarcodeException 
    Remarks

    The required width is a value calculated from the sum of the total bar width, left and right borders (WriterBase.HorizontalWhiteSpace), and the width of any outside text i.e. UPC symbols, plus specified text gap (WriterBase.HorizontalTextGap).

    Note: If WriterBase.AutoSize is set to True, this error is not returned even is the above is True. Instead, the width is resized automatically to fit the barcode.

    Inheritance Hierarchy

    System.Object
       System.Exception
          Accusoft.BarcodeXpressSdk.BarcodeException
             Accusoft.BarcodeXpressSdk.InsufficientWidthException

    See Also