public FastReportBuilder addBarcodeColumn ( String title , String property , String className , int barcodeType , boolean showText , int width , boolean fixedWidth , ImageScaleMode imageScaleMode , Style style ) throws ColumnBuilderException , ClassNotFoundException { AbstractColumn column = ColumnBuilder . getNew ( ) . setColumnProperty ( property , className ) . setWidth ( width ) . setTitle ( title ) . setFixedWidth ( fixedWidth ) . setColumnType ( ColumnBuilder . COLUMN_TYPE_BARCODE ) . setStyle ( style ) . setBarcodeType ( barcodeType ) . setShowText ( showText ) . build ( ) ; if ( style == null ) guessStyle ( className , column ) ; addColumn ( column ) ; return this ; }
By default uses InputStream as the type of the image