Rotated Text
I am using the rotated text function for a database field which puts 'HOLD'
or '' at 45 degrees across the report depending upon the status of the item.
But each time I go into the report designer the text shrinks to height 0.001
width 0.002 even with autosize = false. Not sure if I am missing something
or '' at 45 degrees across the report depending upon the status of the item.
But each time I go into the report designer the text shrinks to height 0.001
width 0.002 even with autosize = false. Not sure if I am missing something
This discussion has been closed.
Comments
Which version of ReportBuilder are you using? Be sure you are using the
latest version of RB (version 9.02).
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
pattern. If I have data in the record then no problem but when the record is
empty the rotated text resizes even if you just change the text alignment.
This is my code in the query that produces the problem;
HoldDesc=case when RL.HoldStatus='HOLD' then 'Held Reel' Else '' end
Is this behavior occuring at design time or runtime? On my machine, if I
switch back to the designer and a 45 degree rotated DBText field is null,
the size of the control defaults to 5000 x 5000 microns or roughly 1/5 inch
square. Please give me the exact steps you are taking to recreate this
behavior so I can recreate it on my machine.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
designed it sized at height and width =102 x 102mm position = left 47 top 8
. When I have a null in the design the control shrinks to 5 x 5mm. When the
report runs it resizes ok but it expands from the left 47 top 8 position
causing part of the control to go off the page.
Regards
Malcolm
Thanks for the description, now I see what is happening. Unfortunately,
this is one of the limitations of rotating traversable text. The device
will render the text (regardless the size) to the exact location it is
represented inside your band. For instance a left aligned 45 degree text
will always print starting at the bottom left corner of your contro box and
grow up and to the right. If you would like it to grow the other direction,
or both directions, try experimenting with the text alignment of that
control.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks I have messed about with the position of the control and am pretty
confident of where to place it to achieve what I need. I suppose I could
code the height and position with rap as well.
Regards
Malcolm