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




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

    The required height is a value calculated from the sum of the total bar height, top and bottom border (WriterBase.VerticalWhiteSpace), and the height of value text, plus specified text gap (WriterBase.VerticalTextGap).

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

    Inheritance Hierarchy

    System.Object
       System.Exception
          Accusoft.BarcodeXpressSdk.BarcodeException
             Accusoft.BarcodeXpressSdk.InsufficientHeightException

    See Also