Jump to content
JasperReports Library 7.0 is now available ×

Input parameters for the rectangle size?


ktrinad

Recommended Posts

By: peter - pxiao

Input parameters for the rectangle size?

2003-09-01 17:37

Hi,

Can I using input parameters for the object rectangle size(width and height)?

when I runing the codes below,it throws an error:

Open quote is expected for attribute "width".

 

<rectangle radius="0" >

<reportElement

mode="Opaque"

x="106"

y="301"

width= $P{width}

height=$P{height}

forecolor="#000000"

backcolor="#FFCC00"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />

</rectangle>

 

any help is appreciated

 

Peter

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...