Jump to content
We've recently updated our Privacy Statement, available here ×

barcode4j ENA13 problem


yanlanglois

Recommended Posts

I use the following code :

<componentElement>                <reportElement uuid="64c6102b-4364-4a18-844a-1e14f87db342" stretchType="RelativeToTallestObject" x="14" y="43" width="31" height="67">                    <property name="local_mesure_unitx" value="mm"/>                    <property name="local_mesure_unity" value="mm"/>                    <property name="local_mesure_unitwidth" value="mm"/>                    <property name="local_mesure_unitheight" value="mm"/>                </reportElement>                <c:EAN13 xmlns:c="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" orientation="90" checksumMode="ignore">                    <c:codeExpression><![CDATA[$F{ean13}]]></c:codeExpression>                </c:EAN13>            </componentElement>[/code]

If I use jasperPrint.setProperty(JRPdfExporterParameter.PROPERTY_FORCE_SVG_SHAPES, "false") :

problemecodeBarSansSvg(1).PNG.4f235489750ebd05cb270ced0f6a0ca9.PNG

If I use jasperPrint.setProperty(JRPdfExporterParameter.PROPERTY_FORCE_SVG_SHAPES, "true") :

problemecodeBarAvecSvg(1).PNG.7bd22acd582a88fb314bd3f502bbb796.PNG

How can I remove this empty space at the top of the barecode ?

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...