Reference Guide
GdPicture14 Namespace / GdPictureImaging Class / Barcode1DWriteGetMinWidth Method
A member of the Barcode1DWriterType enumeration.
The data of the barcode to encode.





In This Topic
    Barcode1DWriteGetMinWidth Method (GdPictureImaging)
    In This Topic
    Gets for the minimum width required to draw a specific barcode on a GdPicture image using one of the Barcode1DWrite methods.
    Syntax
    'Declaration
     
    
    Public Function Barcode1DWriteGetMinWidth( _
       ByVal BarcodeType As Barcode1DWriterType, _
       ByVal Data As String _
    ) As Integer
    public int Barcode1DWriteGetMinWidth( 
       Barcode1DWriterType BarcodeType,
       string Data
    )
    public function Barcode1DWriteGetMinWidth( 
        BarcodeType: Barcode1DWriterType;
        Data: String
    ): Integer; 
    public function Barcode1DWriteGetMinWidth( 
       BarcodeType : Barcode1DWriterType,
       Data : String
    ) : int;
    public: int Barcode1DWriteGetMinWidth( 
       Barcode1DWriterType BarcodeType,
       string* Data
    ) 
    public:
    int Barcode1DWriteGetMinWidth( 
       Barcode1DWriterType BarcodeType,
       String^ Data
    ) 

    Parameters

    BarcodeType
    A member of the Barcode1DWriterType enumeration.
    Data
    The data of the barcode to encode.

    Return Value

    The minimum width required to draw the barcode. If 0, you can use the GetStat method to get the reason the method failed.
    See Also