Jump to content
  • barcode alignment


    Dominik.Hellein
    Assigned User teodord
    CategoryFeature request
    PriorityHigh
    ReproducibilityAlways
    ResolutionNo Change Required
    SeverityMajor
    StatusResolved
    Versionv5.0.1

    It's not possible to set the Allignment to an Barcode. (for images it's possible to set for example hAlign="Center")

     

    There is a workaround by creating the barcode within an expression and assign it to an image:

    e.g. Image Expression:

    new net.sf.jasperreports.components.barbecue.BarbecueRenderer(net.sourceforge.barbecue.BarcodeFactory.create3of9($V{barcode}, false))



    User Feedback

    Recommended Comments

    Changed Resolution from Open to No Change Required

    Changed Status from New to Resolved

    Changed Assigned User from - to @teodord


    Hi,The barcode can be aligned horizontally by setting the hImageAlign attribute in a report style and reference that in the barcode element.The barcode alignment can thus be controlled through a style, even if barcode element does not have the property for alignment.Same technique can be used to rotate the barcode.Thanks,Teodor
    Link to comment
    Share on other sites


×
×
  • Create New...