2005 IR Help Posted August 27, 2006 Share Posted August 27, 2006 By: vinnytheNose - pmauro Positioning relative to the right side 2004-11-01 15:39 I can't seem to figure out how to position reportElements in a report to the right edge of the page. The reason being, I have an image at the head of a page and it should be right justified. Sometimes the page is letter sized, sometimes landscape. Currently it is absolutely positioned appropriately for the letter sized page, however if the page becomes landscape, then it is no longer aligned with the right side of the page. Can this be done by determining the page width at runtime? Thanks for your help. By: vinnytheNose - pmauro RE: Positioning relative to the right side 2004-11-02 15:38 Well, I found one way of doing it. I set a key on the reportElement and then in my code that sets up the report, when it realizes that the report will be landscape, it grabs the reportElement by key and resets its X value accordingly. If anyone has any design-time solutions, I would much prefer that, as this makes design maintenance in two spots, the java code and the xml. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now