FigureTransparent Property

Specifies whether the barcode image will use a transparent background.


public boolean getFigureTransparent()
public void setFigureTransparent(int figureTransparent)




This property is applicable only to image formats that support transparency.

If you're using the PNG image format, you need to keep in mind with the current generation of browsers, the support for PNG is limited and therefore setting this property to true may result in an image that cannot be well rendered by the browsers (technically, certain browsers may fail to render PNG images that contain a palette).